diff options
-rw-r--r-- | testing/chromium/APKBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/testing/chromium/APKBUILD b/testing/chromium/APKBUILD index 47accccf81..1d98720c51 100644 --- a/testing/chromium/APKBUILD +++ b/testing/chromium/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=chromium pkgver=43.0.2357.130 -pkgrel=4 +pkgrel=5 pkgdesc="chromium web browser" url="http://www.chromium.org/" arch="x86_64" @@ -17,7 +17,8 @@ depends_dev="alsa-lib-dev libevent-dev libpng-dev jpeg-dev cairo-dev cups-dev libxrandr-dev libxscrnsaver-dev pciutils-dev udev-dev libexif-dev hwdata-usb ninja libbsd-dev harfbuzz-dev snappy-dev bsd-compat-headers openssl-dev libre2-dev jsoncpp-dev minizip-dev" -makedepends="$depends_dev xdg-utils yasm gperf bison flex perl python bash paxmark findutils" +makedepends="$depends_dev xdg-utils yasm gperf bison flex perl python bash + paxmark findutils" install="" options=suid subpackages="$pkgname-doc $pkgname-sandbox $pkgname-chromedriver" @@ -144,7 +145,7 @@ build() { # build mksnapshot and paxmark it ninja -C out/Release mksnapshot || return 1 paxmark -m out/Release/mksnapshot || return 1 - + # finish rest of the build ninja -C out/Release chrome chrome_sandbox chromedriver || return 1 paxmark -m out/Release/chrome || return 1 @@ -159,9 +160,9 @@ package() { "$pkgdir"/usr/lib/$pkgname/$bin || return 1 done - for pak in *.pak; do - install -Dm644 out/Release/$pak \ - "$pkgdir"/usr/lib/$pkgname/$pak || return 1 + for pak in out/Release/*.pak; do + install -Dm644 $pak \ + "$pkgdir"/usr/lib/$pkgname/${pak##*/} || return 1 done #TODO do we really need bash for this simple script? |