# $Id: PKGBUILD 57177 2011-10-23 13:23:24Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Daniel Plaza pkgname=ccid pkgver=1.4.5 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') makedepends=('pkg-config') backup=(etc/reader.conf.d/libccidtwin) source=("https://alioth.debian.org/frs/download.php/3672/${pkgname}-${pkgver}.tar.bz2") md5sums=('cb9a77194ac335c39b262ea83a5b7d2e') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr \ --sysconfdir=/etc \ --enable-twinserial make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -D -m644 src/92_pcscd_ccid.rules "${pkgdir}/lib/udev/rules.d/85-pcscd-ccid.rules" }