desktop/ccid/PKGBUILD
2014-04-01 10:22:06 +00:00

32 lines
893 B
Bash

# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Daniel Plaza <daniel.plaza.espi@gmail.com>
pkgname=ccid
pkgver=1.4.16
_code=4016
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=('2f3ca6c4b4ad0f81d41a0e032e0f556f')
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
}