Commit 3e98711a authored by Seblu's avatar Seblu
Browse files

add opensc


git-svn-id: https://seblu.net/s/archpkg@150 02741741-5192-46b8-8916-7152b19231d9
parent d507373b
Loading
Loading
Loading
Loading

opensc/PKGBUILD

0 → 100644
+29 −0
Original line number Diff line number Diff line
# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
# Contributor: kevku <kevku@msn.com>

pkgname=opensc
pkgver=0.12.2
pkgrel=1
pkgdesc="Access smart cards that support cryptographic operations"
arch=('x86_64' 'i686')
url="http://www.opensc-project.org/opensc"
license=("LGPL")
backup=('etc/opensc.conf')
depends=('openssl' 'pcsclite')
options=('!libtool')
source=("http://www.opensc-project.org/files/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('5116adea5f2f9f22fb9896965789144b')
 
build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc --enable-pcsc --disable-static
  make
}
 
package(){
  cd $pkgname-$pkgver
  make DESTDIR="${pkgdir}" install
  install -D -m644 etc/opensc.conf "${pkgdir}/etc/opensc.conf"
} 

# vim:set ts=2 sw=2 ft=sh et: