summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAtte Virtanen2016-09-01 11:17:44 +0300
committerAtte Virtanen2016-09-01 11:17:44 +0300
commitb0befed86b1ddf0076ec17906308b67c6ea0d4a9 (patch)
tree3b2ff4191cb6296b0d5ee65d809d8c726722bdb4
parenta409fea4689f5ef1fd113f96c14bafdf485f94cc (diff)
downloadaur-b0befed86b1ddf0076ec17906308b67c6ea0d4a9.tar.gz
Update download URL
-rw-r--r--.SRCINFO27
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD34
3 files changed, 29 insertions, 33 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2d82fa12181f..fc5c76f91596 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,29 +1,22 @@
-# Generated by mksrcinfo v8
-# Tue Dec 8 21:39:13 UTC 2015
pkgbase = scmccid
pkgdesc = Binary driver for the SCM smart card readers
pkgver = 5.0.35
- pkgrel = 1
- url = http://support.identive-group.com/downloads.php
+ pkgrel = 2
+ url = http://support.identiv.com/products/
install = scmccid.install
arch = i686
arch = x86_64
license = custom
+ makedepends = unzip
depends = pcsclite
- depends = libusb-compat
+ depends = libusb0
backup = usr/local/scm/ini/scmccid.ini
- source_i686 = http://support.identive-group.com/download.php?file=driver/scmccid_5.0.35_linux.tar.gz
- md5sums_i686 = 0487b1373865c740dda0dcd490cc5b83
- sha1sums_i686 = 2f3bd8365bc9ce6c1edc5d84aee955570903e0c8
- sha256sums_i686 = 791a80a1eeee6544d32e1dcaddb7383e6566a89b6f4a97ce0565dd8f274def65
- sha384sums_i686 = 1bdeabc2efa9c4e941a9f30de410d3fd5ce96a0fae0467ceecfea8ba273c58740fa4489c4c11bd5566f2d098f8fd3910
- sha512sums_i686 = 2c5d7a4fa0482945ab45f823d418c4bd58a0f04dde40b3986cbf71a92b299763d03d84e7cd56c30c63266685ce45f3b97411dfc99ea59484c8d5b8d700b2348c
- source_x86_64 = http://support.identive-group.com/download.php?file=driver/scmccid_5.0.35_linux_64bit.tar.gz
- md5sums_x86_64 = a9500c36e78981534789c40a47af07b6
- sha1sums_x86_64 = c9328f500a7c89c10cce18e3221d7e364d3534da
- sha256sums_x86_64 = 4857f7402fb585909622020e1007c81d1ebc3c71574d6f1a993e03e5431331e4
- sha384sums_x86_64 = b576393db70062833661b7aaeb957195afe05708031b575e52f9321fd4007543cd6a0f86e6c574e26bfe138a2a451d6d
- sha512sums_x86_64 = 7bf09ed3ec62d4c2df9680238c02d60c876e27e58d85270618e770b55150bc4bd4add55d3f747e89bdc1685a4c6c6e1a12892772a44ca21023cffa0a6b1455e6
+ source = uTrust_Linux.zip::http://files.identiv.com/products/smart-card-readers/contact/scr3310v2/uTrust_Linux.tar.gz
+ md5sums = bef37fdc480a357396652492200ac91d
+ sha1sums = e4b9681b486cdb108a3d24433cdd063861e9be6e
+ sha256sums = 3ca2bb8ffcfe964db33378c1c861405aad0bd68f15f517921c5c9b1f1455ac20
+ sha384sums = 6a50d6182139ca85ac4cf61b6ebf5104aab442426714c530c67d950f8a9c3e8bc3a30f197f7a73fa548b0a937c4d8b52
+ sha512sums = b96fb39af2c6b43d2d54ac62c27aee50f3418c91dcd0bc061250af2f7e4edea52d7a66e82a91ac4aa8e92b160d7e7a57d44e372daeea8c484b02672f41999b36
pkgname = scmccid
diff --git a/.gitignore b/.gitignore
index f62c81694dcf..891f4e84ecc8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/src
/*.tar.gz
/*.pkg.*
+/*.zip
diff --git a/PKGBUILD b/PKGBUILD
index 654d6e4260de..e97c36c612f1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,31 +2,33 @@
# Contributor: Cesar Alcalde <lambda512 _at_ gmail.com>
pkgname=scmccid
pkgver=5.0.35
-pkgrel=1
+pkgrel=2
pkgdesc="Binary driver for the SCM smart card readers"
arch=('i686' 'x86_64')
-url="http://support.identive-group.com/downloads.php"
+url="http://support.identiv.com/products/"
license=('custom')
-depends=('pcsclite' 'libusb-compat')
+depends=('pcsclite' 'libusb0')
+makedepends=('unzip')
backup=('usr/local/scm/ini/scmccid.ini')
install=$pkgname.install
-source_i686=("http://support.identive-group.com/download.php?file=driver/${pkgname}_${pkgver}_linux.tar.gz")
-source_x86_64=("http://support.identive-group.com/download.php?file=driver/${pkgname}_${pkgver}_linux_64bit.tar.gz")
+source=("uTrust_Linux.zip::http://files.identiv.com/products/smart-card-readers/contact/scr3310v2/uTrust_Linux.tar.gz")
-md5sums_i686=('0487b1373865c740dda0dcd490cc5b83')
-md5sums_x86_64=('a9500c36e78981534789c40a47af07b6')
-sha1sums_i686=('2f3bd8365bc9ce6c1edc5d84aee955570903e0c8')
-sha1sums_x86_64=('c9328f500a7c89c10cce18e3221d7e364d3534da')
-sha256sums_i686=('791a80a1eeee6544d32e1dcaddb7383e6566a89b6f4a97ce0565dd8f274def65')
-sha256sums_x86_64=('4857f7402fb585909622020e1007c81d1ebc3c71574d6f1a993e03e5431331e4')
-sha384sums_i686=('1bdeabc2efa9c4e941a9f30de410d3fd5ce96a0fae0467ceecfea8ba273c58740fa4489c4c11bd5566f2d098f8fd3910')
-sha384sums_x86_64=('b576393db70062833661b7aaeb957195afe05708031b575e52f9321fd4007543cd6a0f86e6c574e26bfe138a2a451d6d')
-sha512sums_i686=('2c5d7a4fa0482945ab45f823d418c4bd58a0f04dde40b3986cbf71a92b299763d03d84e7cd56c30c63266685ce45f3b97411dfc99ea59484c8d5b8d700b2348c')
-sha512sums_x86_64=('7bf09ed3ec62d4c2df9680238c02d60c876e27e58d85270618e770b55150bc4bd4add55d3f747e89bdc1685a4c6c6e1a12892772a44ca21023cffa0a6b1455e6')
+md5sums=('bef37fdc480a357396652492200ac91d')
+sha1sums=('e4b9681b486cdb108a3d24433cdd063861e9be6e')
+sha256sums=('3ca2bb8ffcfe964db33378c1c861405aad0bd68f15f517921c5c9b1f1455ac20')
+sha384sums=('6a50d6182139ca85ac4cf61b6ebf5104aab442426714c530c67d950f8a9c3e8bc3a30f197f7a73fa548b0a937c4d8b52')
+sha512sums=('b96fb39af2c6b43d2d54ac62c27aee50f3418c91dcd0bc061250af2f7e4edea52d7a66e82a91ac4aa8e92b160d7e7a57d44e372daeea8c484b02672f41999b36')
package() {
- cd "$srcdir/${pkgname}_${pkgver}_linux"
+ cd "$srcdir"
+ unzip "scmccid_${pkgver}_linux.zip"
+ if [ "$arch" = "x86_64" ]; then
+ tar xvf "scmccid_${pkgver}_linux_64bit.tar.gz"
+ else
+ tar xvf "scmccid_${pkgver}_linux.tar.gz"
+ fi
+ cd "scmccid_${pkgver}_linux"
bundle_path=`pkg-config libpcsclite --variable=usbdropdir`