diff options
-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 |