diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-09 09:52:31 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-09 09:55:05 +0200 |
commit | bd6da2a7880a8be1d74c12c0da2f79062f9076ae (patch) | |
tree | bcb9f3798e617a2a323e388cb4613f8dbe32d0c5 | |
parent | 5485b141f8737cfbfbc7d685a643f2a64e4bec79 (diff) | |
download | aports-bd6da2a7880a8be1d74c12c0da2f79062f9076ae.tar.bz2 aports-bd6da2a7880a8be1d74c12c0da2f79062f9076ae.tar.xz |
community/chromium: don't depend on chromedriver
ref #6126
-rw-r--r-- | community/chromium/APKBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/community/chromium/APKBUILD b/community/chromium/APKBUILD index 58847b1450..f38eedcecc 100644 --- a/community/chromium/APKBUILD +++ b/community/chromium/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=chromium pkgver=53.0.2785.92 -pkgrel=1 +pkgrel=2 pkgdesc="chromium web browser" url="http://www.chromium.org/" arch="x86_64" @@ -203,7 +203,6 @@ package() { cd "$pkgdir"/usr/bin || return 1 ln -sf /usr/lib/$pkgname/chromium-launcher.sh \ chromium-browser || return 1 - ln -sf /usr/lib/$pkgname/chromedriver || return 1 cd "$builddir" install -Dm644 "$srcdir"/chromium.conf \ @@ -221,12 +220,18 @@ package() { install -Dm644 "chrome/app/theme/default_100_percent/chromium/product_logo_$size.png" \ "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/chromium.png" done + + install -Dm755 "$builddir"/out/Release/chromedriver \ + "$pkgdir"/usr/lib/$pkgname/chromedriver || return 1 + ln -sf /usr/lib/$pkgname/chromedriver "$pkgdir"/usr/bin/ || return 1 } chromedriver() { pkgdesc="WebDriver driver for the Chromium Browser" - install -Dm755 "$builddir"/out/Release/chromedriver \ - "$subpkgdir"/usr/lib/$pkgname/chromedriver || return 1 + mkdir -p "$subpkgdir"/usr/lib/$pkgname "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/lib/$pkgname/chromedriver \ + "$subpkgdir"/usr/lib/$pkgname/ || return 1 + mv "$pkgdir"/usr/bin/chromedriver "$subpkgdir"/usr/bin || return 1 } md5sums="fddd2e221677753048b76752f56a42bd chromium-53.0.2785.92.tar.xz |