diff options
author | BlackEagle | 2017-06-20 12:29:47 +0200 |
---|---|---|
committer | BlackEagle | 2017-06-20 12:29:47 +0200 |
commit | 30c902d1a61ebf5aa5d2839954dbc2b1ab7b50a4 (patch) | |
tree | 3cca1fe89ac8a0642b429b7e378583f921e1e032 /PKGBUILD | |
parent | 9e4d589a670869c93a3439c56c5e455fe630f2cf (diff) | |
download | aur-30c902d1a61ebf5aa5d2839954dbc2b1ab7b50a4.tar.gz |
vivaldi-snapshot :: 1.11.880.3-2 ;; fix
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -3,7 +3,7 @@ pkgname=vivaldi-snapshot pkgver=1.11.880.3 -pkgrel=1 +pkgrel=2 pkgdesc='An advanced browser made with the power user in mind. (weekly snapshot)' url="https://vivaldi.com" options=(!strip !zipman) @@ -24,10 +24,10 @@ package() { cp -a {opt,usr} "$pkgdir" # suid sandbox - chmod 4755 "$pkgdir/opt/vivaldi-snapshot/vivaldi-sandbox" + chmod 4755 "$pkgdir/opt/$pkgname/vivaldi-sandbox" # make /usr/bin/vivaldi-snapshot available - binf="$pkgdir/usr/bin/vivaldi-snapshot" + binf="$pkgdir/usr/bin/$pkgname" if [[ ! -e "$binf" ]] && [[ ! -f "$binf" ]] && [[ ! -L "$binf" ]]; then install -dm755 "$pkgdir/usr/bin" ln -s /opt/$pkgname/$pkgname "$binf" @@ -35,13 +35,13 @@ package() { # install icons for res in 16 22 24 32 48 64 128 256; do - install -Dm644 "$pkgdir/opt/vivaldi-snapshot/product_logo_${res}.png" \ - "$pkgdir/usr/share/icons/hicolor/${res}x${res}/apps/vivaldi-snapshot.png" + install -Dm644 "$pkgdir/opt/$pkgname/product_logo_${res}.png" \ + "$pkgdir/usr/share/icons/hicolor/${res}x${res}/apps/$pkgname.png" done # license install -dm755 "$pkgdir/usr/share/licenses/$pkgname" - strings "$pkgdir/opt/vivaldi/locales/en-US.pak" \ + strings "$pkgdir/opt/$pkgname/locales/en-US.pak" \ | tr '\n' ' ' \ | sed -rne 's/.*(<html lang.*>.*html>).*/\1/p' \ | w3m -I 'utf-8' -T 'text/html' \ |