desktop/ccid/PKGBUILD
2012-10-21 12:05:52 +00:00

34 lines
938 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# 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.8
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')
backup=(etc/reader.conf.d/libccidtwin)
source=("https://alioth.debian.org/frs/download.php/3768/$pkgname-$pkgver.tar.bz2")
md5sums=('b6c37110f50b059a8ba94f118cfd679a')
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
}