updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / opensc / PKGBUILD
blobdd6d527187cb9361c9f456f5efe78fbaf1eb5d14
1 # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
2 # Contributor: kevku <kevku@msn.com>
4 pkgname=opensc
5 pkgver=0.12.2
6 pkgrel=2
7 pkgdesc="Access smart cards that support cryptographic operations"
8 arch=('x86_64' 'i686')
9 url="http://www.opensc-project.org/opensc"
10 license=("LGPL")
11 backup=('etc/opensc.conf')
12 depends=('openssl' 'pcsclite' 'libltdl')
13 options=('!libtool')
14 source=("http://www.opensc-project.org/files/$pkgname/$pkgname-$pkgver.tar.gz")
15 md5sums=('5116adea5f2f9f22fb9896965789144b')
17 build() {
18   cd $pkgname-$pkgver
19   export LIBS=-lltdl
20   ./configure --prefix=/usr --sysconfdir=/etc --enable-pcsc --disable-static
21   make
24 package(){
25   cd $pkgname-$pkgver
26   make DESTDIR="$pkgdir" install
27   install -D -m644 etc/opensc.conf "$pkgdir/etc/opensc.conf"
28
30 # vim:set ts=2 sw=2 ft=sh et: