desktop/ccid/PKGBUILD

30 lines
885 B
Bash
Raw Normal View History

2015-06-20 20:30:04 +08:00
# contribution from Arch https://www.archlinux.org/packages/community/x86_64/ccid/
pkgname=ccid
2015-06-20 20:30:04 +08:00
pkgver=1.4.19
_code=4132
2015-05-02 20:46:53 +08:00
pkgrel=1
pkgdesc="A generic USB Chip/Smart Card Interface Devices driver"
2013-02-15 05:52:07 +08:00
arch=('x86_64')
url="http://pcsclite.alioth.debian.org/ccid.html"
license=('LGPL' 'GPL')
depends=('pcsclite')
backup=(etc/reader.conf.d/libccidtwin)
2013-12-06 05:17:10 +08:00
source=("https://alioth.debian.org/frs/download.php/file/${_code}/$pkgname-$pkgver.tar.bz2")
2015-06-20 20:30:04 +08:00
sha512sums=('24d37a22703b15cfffbc1606dd3d6388fcc101924f2feafbf6b23793171b25b91c66b3d7e3739f3e6ee3b981fdf9972c0feeebb1878e8eb899cd8629cc7d6669')
build() {
2012-10-21 20:05:52 +08:00
cd $srcdir/$pkgname-$pkgver
./configure \
--enable-twinserial \
--prefix=/usr \
--sysconfdir=/etc
make
}
package() {
2012-10-21 20:05:52 +08:00
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
2014-04-08 00:55:24 +08:00
install -D -m644 src/92_pcscd_ccid.rules $pkgdir/usr/lib/udev/rules.d/85-pcscd-ccid.rules
}