summaryrefslogtreecommitdiff
path: root/libre/iceweasel
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-23 23:15:37 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-23 23:15:37 -0400
commit7ae72ab38b8ca2d4f12414ef6a4528cde31ebc7e (patch)
tree258d360c1943fe3bd8b35d770d241f8fcc683425 /libre/iceweasel
parenta586361961a0696e5a16e98673ca309c57ac3319 (diff)
libre/iceweasel: Make the icu version dep automatic
Diffstat (limited to 'libre/iceweasel')
-rw-r--r--libre/iceweasel/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD
index 46a8e85bc..00a88746e 100644
--- a/libre/iceweasel/PKGBUILD
+++ b/libre/iceweasel/PKGBUILD
@@ -50,7 +50,6 @@ license=(MPL GPL LGPL)
url="https://wiki.parabola.nu/$pkgname"
depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib ffmpeg
nss hunspell-en_US sqlite ttf-font libpulse libvpx icu)
-depends+=('icu>=62' 'icu<63')
makedepends=(unzip zip diffutils python2 yasm mesa imake gconf inetutils xorg-server-xvfb
autoconf2.13 rust mercurial clang llvm jack gtk2 python)
optdepends=('networkmanager: Location detection via available WiFi networks'
@@ -177,6 +176,10 @@ build() {
}
package() {
+ local _icu_ver
+ _icu_ver=$(pacman -S --print-format='%v' icu)
+ depends+=("icu>=${_icu_ver}" "icu<$((${_icu_ver%%.*} + 1))")
+
cd mozilla-unified
DESTDIR="$pkgdir" ./mach install
find . -name '*crashreporter-symbols-full.zip' -exec cp -fvt "$startdir" {} +