# # Apps Packages for Chakra, part of chakra-project.org # # Maintainer: Adrián Chaves Fernández (Gallaecio) # Contributor: Giovanni Scafora # Contributor: Daniel Plaza pkgname=ccid pkgver=1.4.14 _code=3971 pkgrel=1 pkgdesc="A generic USB Chip/Smart Card Interface Devices driver" arch=('x86_64') url="http://pcsclite.alioth.debian.org/ccid.html" license=('LGPL' 'GPL') depends=('pcsclite') backup=(etc/reader.conf.d/libccidtwin) source=("https://alioth.debian.org/frs/download.php/file/${_code}/$pkgname-$pkgver.tar.bz2") md5sums=('4596f82e85e2996f7877e892b5c18382') build() { cd $srcdir/$pkgname-$pkgver ./configure \ --enable-twinserial \ --prefix=/usr \ --sysconfdir=/etc 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 }