summaryrefslogtreecommitdiff
path: root/community/ccid/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ccid/PKGBUILD')
-rw-r--r--community/ccid/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/ccid/PKGBUILD b/community/ccid/PKGBUILD
new file mode 100644
index 000000000..ae13ebbf9
--- /dev/null
+++ b/community/ccid/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 94187 2013-07-16 14:49:37Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Daniel Plaza <daniel.plaza.espi@gmail.com>
+
+pkgname=ccid
+pkgver=1.4.11
+pkgrel=1
+pkgdesc="A generic USB Chip/Smart Card Interface Devices driver"
+arch=('i686' 'x86_64')
+url="http://pcsclite.alioth.debian.org/ccid.html"
+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')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-twinserial
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+}