desktop/ccid/PKGBUILD

35 lines
952 B
Bash
Raw Normal View History

#
# 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
2013-12-06 05:17:10 +08:00
pkgver=1.4.14
_code=3971
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")
md5sums=('4596f82e85e2996f7877e892b5c18382')
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
install -D -m644 src/92_pcscd_ccid.rules $pkgdir/lib/udev/rules.d/85-pcscd-ccid.rules
}