summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevku2021-05-25 10:25:13 +0300
committerkevku2021-05-25 10:25:13 +0300
commite6889718b44996047ce15883884852605cb661ba (patch)
tree29685270fd8398ddc6f1ec6b0547f5969694d1c3
parentc60a0dac063840aa5e00830a5a622c9ab3e188d3 (diff)
downloadaur-e6889718b44996047ce15883884852605cb661ba.tar.gz
fix install for vivaldi
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD14
2 files changed, 6 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 05356b2d11c..42b4e788546 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = chrome-token-signing
pkgdesc = Chrome and Firefox extension for signing with your eID on the web
pkgver = 1.1.4.543
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = http://www.id.ee/
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index c381c672df9..1b9ffd07396 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=chrome-token-signing
pkgver=1.1.4.543
_rls_tag=v1.1.4
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc="Chrome and Firefox extension for signing with your eID on the web"
arch=('x86_64' 'i686')
@@ -27,20 +27,16 @@ package() {
# Istall files
install -Dm755 ./host-linux/chrome-token-signing -t "$pkgdir/usr/bin"
install -Dm644 ./host-linux/ee.ria.esteid.json -t "$pkgdir/usr/share/chrome-token-signing"
- install -Dm644 ./host-linux/ee.ria.chrome-token-signing.policy.json -t "$pkgdir/usr/share/chrome-token-signing"
install -Dm644 ./host-linux/ff/ee.ria.esteid.json -t "$pkgdir/usr/lib/mozilla/native-messaging-hosts"
install -Dm644 ./ckjefchnfjhjfedoccjbhjpbncimppeg.json -t "$pkgdir/usr/share/chrome-token-signing"
install -Dm644 ./\{443830f0-1fff-4f9a-aa1e-444bafbc7319\}.xpi -t "$pkgdir/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
# Create links
- mkdir -p $pkgdir/etc/{chromium,chromium-browser}/native-messaging-hosts
- mkdir -p $pkgdir/etc/{chromium,chromium-browser}/policies/managed
- mkdir -p $pkgdir/usr/share/{google-chrome,chromium,chromium-browser}/extensions
+ mkdir -p "$pkgdir"/etc/chromium/native-messaging-hosts
+ mkdir -p "$pkgdir"/etc/opt/chrome/native-messaging-hosts
+ mkdir -p "$pkgdir"/usr/share/{google-chrome,chromium}/extensions
ln -sf "/usr/share/chrome-token-signing/ee.ria.esteid.json" "$pkgdir/etc/chromium/native-messaging-hosts/ee.ria.esteid.json"
- ln -sf "/usr/share/chrome-token-signing/ee.ria.esteid.json" "$pkgdir/etc/chromium-browser/native-messaging-hosts/ee.ria.esteid.json"
+ ln -sf "/usr/share/chrome-token-signing/ee.ria.esteid.json" "$pkgdir/etc/opt/chrome/native-messaging-hosts/ee.ria.esteid.json"
ln -sf "/usr/share/chrome-token-signing/ckjefchnfjhjfedoccjbhjpbncimppeg.json" "$pkgdir/usr/share/chromium/extensions/ckjefchnfjhjfedoccjbhjpbncimppeg.json"
- ln -sf "/usr/share/chrome-token-signing/ckjefchnfjhjfedoccjbhjpbncimppeg.json" "$pkgdir/usr/share/chromium-browser/extensions/ckjefchnfjhjfedoccjbhjpbncimppeg.json"
ln -sf "/usr/share/chrome-token-signing/ckjefchnfjhjfedoccjbhjpbncimppeg.json" "$pkgdir/usr/share/google-chrome/extensions/ckjefchnfjhjfedoccjbhjpbncimppeg.json"
- ln -sf "/usr/share/chrome-token-signing/ee.ria.chrome-token-signing.policy.json" "$pkgdir/etc/chromium/policies/managed/ee.ria.chrome-token-signing.policy.json"
- ln -sf "/usr/share/chrome-token-signing/ee.ria.chrome-token-signing.policy.json" "$pkgdir/etc/chromium-browser/policies/managed/ee.ria.chrome-token-signing.policy.json"
}