diff options
Diffstat (limited to 'pcr/phantomjs')
-rw-r--r-- | pcr/phantomjs/PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pcr/phantomjs/PKGBUILD b/pcr/phantomjs/PKGBUILD index c68031848..17319d7ad 100644 --- a/pcr/phantomjs/PKGBUILD +++ b/pcr/phantomjs/PKGBUILD @@ -1,4 +1,5 @@ -# Maintainer (AUR): Chih-Hsuan Yen <yan12125@gmail.com> +# Maintainer (AUR): Felix Golatofski <contact@xdfr.de> +# Contributor (AUR): Chih-Hsuan Yen <yan12125@gmail.com> # Contributor (AUR): Felix Yan <felixonmars@archlinux.org> # Contributor (AUR): grimsock <lord.grimsock at gmail dot com> # Contributor (AUR): Dieter Plaetinck <dieter@plaetinck.be> @@ -7,13 +8,12 @@ pkgname=phantomjs pkgver=2.1.1 -pkgrel=16 +pkgrel=17 pkgdesc='Headless WebKit with JavaScript API' url='http://www.phantomjs.org/' license=('BSD' 'LGPL' 'MIT') arch=('i686' 'x86_64' 'armv7h') depends=('icu' 'libjpeg-turbo' 'libpng' 'fontconfig' 'gperf' 'ruby' 'python2' 'openssl-1.0' 'mariadb-libs' 'libfbclient') -depends+=('icu>=65' 'icu<66') makedepends=('git') _qtbase_commit=b5cc0083a5766e773885e8dd624c51a967c17de0 _qtwebkit_commit=e7b74331d695bfa8b77e39cdc50fc2d84a49a22a @@ -57,6 +57,10 @@ build() { } package() { + local _icu_ver + _icu_ver=$(pacman -S --print-format='%v' icu) + depends+=("icu>=${_icu_ver}" "icu<$((${_icu_ver%%.*} + 1))") + cd $pkgname-$pkgver install -Dm755 bin/phantomjs "$pkgdir/usr/bin/phantomjs" |