diff options
-rw-r--r-- | libre/iceweasel/PKGBUILD | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD index 970be1538..9ae5e7d04 100644 --- a/libre/iceweasel/PKGBUILD +++ b/libre/iceweasel/PKGBUILD @@ -36,18 +36,13 @@ # because of all of the other patching we're doing # # [1]: https://www.mozilla.org/en-US/foundation/trademarks/policy/ -# -# IMPORTANT NOTICE: -# libremakepkg *will* choke on this package, unless sufficient space is -# provided in /tmp. -# -# currently, at least 4.2MiB are required. + pkgname=iceweasel replaces=('firefox') epoch=1 pkgver=65.0.1 pkgrel=1 -pkgrel+=.parabola1 +pkgrel+=.parabola2 _brandingver=${pkgver%.*} _brandingrel=1 pkgdesc="Libre standalone web browser based on Mozilla Firefox" @@ -58,7 +53,7 @@ url="https://wiki.parabola.nu/$pkgname" depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib ffmpeg nss ttf-font libpulse sqlite libvpx icu) makedepends=(unzip zip diffutils python2-setuptools yasm mesa imake inetutils - xorg-server-xvfb autoconf2.13 rust mercurial clang llvm jack gtk2 + xorg-server-xvfb autoconf2.13 rust clang llvm jack gtk2 python nodejs python2-psutil cbindgen nasm) makedepends+=(mozilla-searchplugins quilt libxslt imagemagick) optdepends=('networkmanager: Location detection via available WiFi networks' @@ -67,23 +62,24 @@ optdepends=('networkmanager: Location detection via available WiFi networks' 'speech-dispatcher: Text-to-Speech' 'hunspell-en_US: Spell checking, American English') options=(!emptydirs !makeflags !debug) -_repo=https://hg.mozilla.org/mozilla-unified -source=("hg+$_repo#tag=FIREFOX_${pkgver//./_}_RELEASE" - $pkgname.desktop) -source+=(https://repo.parabola.nu/other/iceweasel/${pkgname}_${_brandingver}-${_brandingrel}.branding.tar.xz{,.sig} - libre-searchengines.patch - libre.patch) -sha256sums=('SKIP' +source=("https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz"{,.asc} + $pkgname.desktop + https://repo.parabola.nu/other/iceweasel/${pkgname}_${_brandingver}-${_brandingrel}.branding.tar.xz{,.sig} + libre-searchengines.patch + libre.patch) +sha256sums=('67e517f6d1ea8aa5c8f32404b8756f3205c3550917a91a19b0a0edccc656a3cc' + 'SKIP' 'ed350ef2f528b999a621f7080fa80948be6b351e67ce32529fb32bcf47bb21fa' '4e4d52addfb0de4b4439e959e5c35194e35a6840a21dcf6b20c46604ae7f6482' 'SKIP' '871222c88dfd240b1805b28c98ca7431bd2b87be1ff4dbb06caa6407b106b803' '4a4667d99ab50b1990de6833e9647ddd428d9206e422c7cc3754d4f80aeb8038') -validpgpkeys+=('BFA8008A8265677063B11BF47171986E4B745536') # Andreas Grapentin +validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353' # Mozilla Software Releases + 'BFA8008A8265677063B11BF47171986E4B745536') # Andreas Grapentin prepare() { mkdir mozbuild - cd mozilla-unified + cd firefox-$pkgver cat >.mozconfig <<END ac_add_options --enable-application=browser @@ -188,9 +184,8 @@ END } build() { - cd mozilla-unified + cd firefox-$pkgver - export MOZ_SOURCE_REPO="$_repo" export MOZ_NOSPAM=1 export MOZBUILD_STATE_PATH="$srcdir/mozbuild" @@ -212,7 +207,7 @@ package() { _icu_ver=$(pacman -S --print-format='%v' icu) depends+=("icu>=${_icu_ver}" "icu<$((${_icu_ver%%.*} + 1))") - cd mozilla-unified + cd firefox-$pkgver DESTDIR="$pkgdir" ./mach install find . -name '*crashreporter-symbols-full.zip' -exec cp -fvt "$startdir" {} + |