summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD33
-rw-r--r--mozconfig.in4
3 files changed, 27 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8ade7414f094..86e2b2cb66a1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = palemoon-gtk3
pkgdesc = Open source web browser based on Firefox focusing on efficiency.
- pkgver = 29.4.4
+ pkgver = 30.0.0
pkgrel = 1
url = https://www.palemoon.org/
arch = i686
@@ -15,6 +15,7 @@ pkgbase = palemoon-gtk3
makedepends = yasm
makedepends = libpulse
makedepends = gcc10
+ makedepends = git
depends = gtk2
depends = gtk3
depends = dbus-glib
@@ -27,12 +28,11 @@ pkgbase = palemoon-gtk3
optdepends = ffmpeg: various video and audio support
provides = palemoon
conflicts = palemoon
- source = https://archive.palemoon.org/source/palemoon-29.4.4.source.tar.xz
- source = https://archive.palemoon.org/source/palemoon-29.4.4.source.tar.xz.sig
+ source = git+https://repo.palemoon.org/MoonchildProductions/Pale-Moon#commit=5a22267940
+ source = git+https://repo.palemoon.org/MoonchildProductions/GRE
source = mozconfig.in
- validpgpkeys = 3DAD8CD107197488D2A2A0BD40481E7B8FCF9CEC
- sha1sums = ace8fffe7d6851c7c0ec2c2555c0b8c19c7611b9
sha1sums = SKIP
- sha1sums = f3cc0b20fd66066b0cb936a5f3f54b1145da1bab
+ sha1sums = SKIP
+ sha1sums = bd25f4237023fa2830b3ec3d443c1fe4f65ff508
pkgname = palemoon-gtk3
diff --git a/PKGBUILD b/PKGBUILD
index e9ca32c97572..06c387817146 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,10 @@
# Contributor: American_Jesus
pkgname=palemoon-gtk3
_pkgname=palemoon
-pkgver=29.4.4
+_repo=Pale-Moon
+pkgver=30.0.0
+# Commit can be found at https://repo.palemoon.org/MoonchildProductions/Pale-Moon/releases
+_commit=5a22267940
pkgrel=1
pkgdesc="Open source web browser based on Firefox focusing on efficiency."
arch=('i686' 'x86_64')
@@ -16,25 +19,29 @@ conflicts=('palemoon')
depends=('gtk2' 'gtk3' 'dbus-glib' 'desktop-file-utils' 'libxt' 'mime-types' 'alsa-lib'
'startup-notification')
makedepends=('python2' 'autoconf2.13' 'unzip' 'zip' 'yasm'
- 'libpulse' 'gcc10')
+ 'libpulse' 'gcc10' 'git')
optdepends=('libpulse: PulseAudio audio driver'
'ffmpeg: various video and audio support')
-source=("https://archive.palemoon.org/source/palemoon-${pkgver}.source.tar.xz"{,.sig}
+source=(git+"https://repo.palemoon.org/MoonchildProductions/${_repo}#commit=${_commit}"
+ git+"https://repo.palemoon.org/MoonchildProductions/GRE"
mozconfig.in)
-validpgpkeys=('3DAD8CD107197488D2A2A0BD40481E7B8FCF9CEC')
-sha1sums=('ace8fffe7d6851c7c0ec2c2555c0b8c19c7611b9'
+sha1sums=('SKIP'
'SKIP'
- 'f3cc0b20fd66066b0cb936a5f3f54b1145da1bab')
+ 'bd25f4237023fa2830b3ec3d443c1fe4f65ff508')
prepare() {
sed 's#%SRCDIR%#'"${srcdir}"'#g' mozconfig.in > mozconfig
+ cd ${_repo}
+ git submodule init
+ git config submodule.platform.url "${srcdir}/GRE"
+ git submodule update
}
build() {
+ cd ${_repo}
export MOZBUILD_STATE_PATH="${srcdir}/mozbuild"
export MOZCONFIG="${srcdir}/mozconfig"
export CPPFLAGS="${CPPFLAGS} -O2 -Wno-format-overflow"
- cd palemoon-source
./mach build
}
@@ -47,15 +54,15 @@ package() {
ln -s "../lib/${_pkgname}/palemoon" "${pkgdir}/usr/bin/palemoon"
# icons
- install -Dm644 palemoon/browser/chrome/icons/default/default16.png \
+ install -Dm644 palemoon/chrome/icons/default/default16.png \
"${pkgdir}/usr/share/icons/hicolor/16x16/apps/${_pkgname}.png"
- install -Dm644 palemoon/browser/chrome/icons/default/default32.png \
+ install -Dm644 palemoon/chrome/icons/default/default32.png \
"${pkgdir}/usr/share/icons/hicolor/32x32/apps/${_pkgname}.png"
- install -Dm644 palemoon/browser/chrome/icons/default/default48.png \
+ install -Dm644 palemoon/chrome/icons/default/default48.png \
"${pkgdir}/usr/share/icons/hicolor/48x48/apps/${_pkgname}.png"
- install -Dm644 palemoon/browser/icons/mozicon128.png \
+ install -Dm644 palemoon/icons/mozicon128.png \
"${pkgdir}/usr/share/icons/hicolor/128x128/apps/${_pkgname}.png"
# install desktop file
- install -Dm644 "${srcdir}/palemoon-source/palemoon/branding/official/palemoon.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
-}
+ install -Dm644 "${srcdir}/${_repo}/other-licenses/branding/palemoon/official/palemoon.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
+} \ No newline at end of file
diff --git a/mozconfig.in b/mozconfig.in
index 32c37aa27782..c71f3a3319ff 100644
--- a/mozconfig.in
+++ b/mozconfig.in
@@ -1,6 +1,6 @@
mk_add_options AUTOCLOBBER=1
mk_add_options MOZ_OBJDIR=%SRCDIR%/pmbuild
-ac_add_options --enable-application=palemoon
+ac_add_options --enable-application=browser
ac_add_options --enable-optimize="-O2 -w"
@@ -20,10 +20,8 @@ ac_add_options --with-pthreads
ac_add_options --disable-tests
ac_add_options --disable-debug
-ac_add_options --disable-eme
ac_add_options --disable-parental-controls
ac_add_options --disable-accessibility
-ac_add_options --disable-webrtc
ac_add_options --disable-gamepad
ac_add_options --disable-necko-wifi
ac_add_options --disable-updater