summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevku2015-08-14 17:03:16 +0300
committerkevku2015-08-14 17:03:16 +0300
commitc9304e84a3d9f79ac189cd597a7b14969e2dd4ba (patch)
treefb3f6be70cacfdc0d92a9921612c84ba9aa2fac0
parent4435722cb564332a0e732f194af657eab948128e (diff)
downloadaur-c9304e84a3d9f79ac189cd597a7b14969e2dd4ba.tar.gz
Update to 1.0.0.388
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD51
2 files changed, 26 insertions, 36 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 87a083bfae2..f8cac6374b2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,8 @@
pkgbase = chrome-token-signing
pkgdesc = Estonian ID Card signing for Chrome. Chrome extension and native messaging client.
- pkgver = 3.9.0.374
- pkgrel = 2
+ pkgver = 1.0.0.388
+ pkgrel = 1
+ epoch = 1
url = http://www.id.ee/
arch = x86_64
arch = i686
@@ -9,10 +10,8 @@ pkgbase = chrome-token-signing
depends = gtkmm3
depends = pcsclite
depends = ccid
- source = https://installer.id.ee/media/sources/chrome-token-signing-3.9.0.374.tar.gz
- source = https://installer.id.ee/media/sources/chrome-token-signing-3.9.0.374.tar.gz.asc
- sha256sums = 6055149e110d290ac93e52ee904d2ebdd43d5a5a7d6b242b8d5f28dec0bb7111
- sha256sums = SKIP
+ source = https://installer.id.ee/media/ubuntu/pool/main/c/chrome-token-signing/chrome-token-signing_1.0.0.388.orig.tar.gz
+ sha256sums = af078b2734b9a4cf661d97c4a5f9e9b9feb2bb03c453b53584c94805c50c6a60
pkgname = chrome-token-signing
diff --git a/PKGBUILD b/PKGBUILD
index 6aa0496b03e..d51c0a7689c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,17 @@
-# Maintainer: Your Name <youremail@domain.com>
+# Maintainer: kevku <kevku@gmx.com>
pkgname=chrome-token-signing
-pkgver=3.9.0.374
-pkgrel=2
+pkgver=1.0.0.388
+pkgrel=1
+epoch=1
pkgdesc="Estonian ID Card signing for Chrome. Chrome extension and native messaging client."
arch=('x86_64' 'i686')
url="http://www.id.ee/"
license=('LGPL2.1')
depends=('gtkmm3' 'pcsclite' 'ccid')
-source=("https://installer.id.ee/media/sources/${pkgname}-${pkgver}.tar.gz"
- "https://installer.id.ee/media/sources/${pkgname}-${pkgver}.tar.gz.asc")
-sha256sums=('6055149e110d290ac93e52ee904d2ebdd43d5a5a7d6b242b8d5f28dec0bb7111'
- 'SKIP')
+source=("https://installer.id.ee/media/ubuntu/pool/main/c/$pkgname/${pkgname}_$pkgver.orig.tar.gz")
+sha256sums=('af078b2734b9a4cf661d97c4a5f9e9b9feb2bb03c453b53584c94805c50c6a60')
validpgpkeys=('43650273CE9516880D7EB581B339B36D592073D4')
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- rm json/jsonxx.o
-}
-
build() {
cd "$srcdir/$pkgname-$pkgver"
make
@@ -25,25 +19,22 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
- install -Dm755 out/$pkgname "$pkgdir/usr/bin/$pkgname"
- install -Dm644 ee.ria.esteid.json "$pkgdir/usr/share/$pkgname/native-messaging-hosts/ee.ria.esteid.json"
- install -Dm644 esteid_policy.json "$pkgdir/usr/share/$pkgname/policies/managed/esteid_policy.json"
- install -Dm644 $pkgname.crx "$pkgdir/usr/share/$pkgname/$pkgname.crx"
- install -Dm644 update.xml "$pkgdir/usr/share/$pkgname/update.xml"
- mkdir -p $pkgdir/etc/{chrome,chromium,chromium-browser}/native-messaging-hosts
- mkdir -p $pkgdir/etc/{chrome,chromium,chromium-browser}/policies/managed
- mkdir -p $pkgdir/etc/opt/chrome/native-messaging-hosts
- mkdir -p $pkgdir/etc/opt/chrome/policies/managed
-
- ln -sf "/usr/share/$pkgname/native-messaging-hosts/ee.ria.esteid.json" "$pkgdir/etc/chrome/native-messaging-hosts/ee.ria.esteid.json"
- ln -sf "/usr/share/$pkgname/policies/managed/esteid_policy.json" "$pkgdir/etc/chrome/policies/managed/esteid_policy.json"
- ln -sf "/usr/share/$pkgname/native-messaging-hosts/ee.ria.esteid.json" "$pkgdir/etc/chromium/native-messaging-hosts/ee.ria.esteid.json"
- ln -sf "/usr/share/$pkgname/policies/managed/esteid_policy.json" "$pkgdir/etc/chromium/policies/managed/esteid_policy.json"
- ln -sf "/usr/share/$pkgname/native-messaging-hosts/ee.ria.esteid.json" "$pkgdir/etc/chromium-browser/native-messaging-hosts/ee.ria.esteid.json"
- ln -sf "/usr/share/$pkgname/policies/managed/esteid_policy.json" "$pkgdir/etc/chromium-browser/policies/managed/esteid_policy.json"
- ln -sf "/usr/share/$pkgname/native-messaging-hosts/ee.ria.esteid.json" "$pkgdir/etc/opt/chrome/native-messaging-hosts/ee.ria.esteid.json"
- ln -sf "/usr/share/$pkgname/policies/managed/esteid_policy.json" "$pkgdir/etc/opt/chrome/policies/managed/esteid_policy.json"
+ install -Dm755 host-linux/$pkgname "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 host-linux/ee.ria.esteid.json "$pkgdir/usr/share/$pkgname/ee.ria.esteid.json"
+ install -Dm644 ckjefchnfjhjfedoccjbhjpbncimppeg.json "$pkgdir/usr/share/$pkgname/ckjefchnfjhjfedoccjbhjpbncimppeg.json"
+ mkdir -p $pkgdir/etc/{opt/chrome,chrome,chromium,chromium-browser}/native-messaging-hosts
+ mkdir -p $pkgdir/usr/share/{chrome,google-chrome,chromium,chromium-browser,opera}/extensions/
+ ln -sf "/usr/share/$pkgname/ee.ria.esteid.json" "$pkgdir/etc/chrome/native-messaging-hosts/ee.ria.esteid.json"
+ ln -sf "/usr/share/$pkgname/ee.ria.esteid.json" "$pkgdir/etc/chromium/native-messaging-hosts/ee.ria.esteid.json"
+ ln -sf "/usr/share/$pkgname/ee.ria.esteid.json" "$pkgdir/etc/chromium-browser/native-messaging-hosts/ee.ria.esteid.json"
+ ln -sf "/usr/share/$pkgname/ee.ria.esteid.json" "$pkgdir/etc/opt/chrome/native-messaging-hosts/ee.ria.esteid.json"
+ ln -sf "$pkgdir/usr/share/$pkgname/ckjefchnfjhjfedoccjbhjpbncimppeg.json" $pkgdir/usr/share/chrome/extensions/ckjefchnfjhjfedoccjbhjpbncimppeg.json
+ ln -sf "$pkgdir/usr/share/$pkgname/ckjefchnfjhjfedoccjbhjpbncimppeg.json" $pkgdir/usr/share/google-chrome/extensions/ckjefchnfjhjfedoccjbhjpbncimppeg.json
+ ln -sf "$pkgdir/usr/share/$pkgname/ckjefchnfjhjfedoccjbhjpbncimppeg.json" $pkgdir/usr/share/chromium/extensions/ckjefchnfjhjfedoccjbhjpbncimppeg.json
+ ln -sf "$pkgdir/usr/share/$pkgname/ckjefchnfjhjfedoccjbhjpbncimppeg.json" $pkgdir/usr/share/chromium-browser/extensions/ckjefchnfjhjfedoccjbhjpbncimppeg.json
+
+
}