summaryrefslogtreecommitdiff
path: root/community/ccid/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ccid/PKGBUILD')
-rw-r--r--community/ccid/PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/community/ccid/PKGBUILD b/community/ccid/PKGBUILD
index 35a4a7b7e..a61a9823a 100644
--- a/community/ccid/PKGBUILD
+++ b/community/ccid/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 94187 2013-07-16 14:49:37Z giovanni $
+# $Id: PKGBUILD 98050 2013-10-04 16:09:59Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Daniel Plaza <daniel.plaza.espi@gmail.com>
pkgname=ccid
-pkgver=1.4.11
-pkgrel=1
+pkgver=1.4.12
+pkgrel=2
pkgdesc="A generic USB Chip/Smart Card Interface Devices driver"
arch=('i686' 'x86_64' 'mips64el')
url="http://pcsclite.alioth.debian.org/ccid.html"
@@ -12,15 +12,16 @@ license=('LGPL' 'GPL')
depends=('pcsclite' 'libusbx')
makedepends=('pkg-config')
backup=(etc/reader.conf.d/libccidtwin)
-source=("https://alioth.debian.org/frs/download.php/file/3920/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('20e3d6f045c53707a597cbacb86b6c5b')
+source=("https://alioth.debian.org/frs/download.php/file/3937/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('54a314b60b60a9549febc75b6dc516d5')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--sysconfdir=/etc \
- --enable-twinserial
+ --enable-twinserial \
+ --enable-serialconfdir=/etc/reader.conf.d
make
}
@@ -28,4 +29,7 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
+ # move the configuration file in /etc and create a symbolic link
+ mv "${pkgdir}/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist" "${pkgdir}/etc/libccid_Info.plist"
+ ln -s /etc/libccid_Info.plist ${pkgdir}/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
}