2 # Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
3 # Contributor: Sébastien Luttringer
4 # Contributor: kevku <kevku@msn.com>
9 pkgdesc='Tools and libraries for smart cards'
11 url='https://github.com/OpenSC/OpenSC/wiki'
13 backup=('etc/opensc.conf')
14 makedepends=('docbook-xsl')
15 depends=('pcsclite' 'glib2' 'libltdl')
16 options=(!emptydirs !lto)
17 source=("https://github.com/OpenSC/OpenSC/releases/download/$pkgver/opensc-$pkgver.tar.gz")
18 sha512sums=('cd102cd64e719c59153960a4921b7525055045f16e6f6ffa8c9def6ce999a9c5098267b41f8753b41107f626bea20c34561002f5d38eddb4ce6b371913a17a1b')
23 _sheetdir=(/usr/share/xml/docbook/xsl-stylesheets-*-nons)
29 --with-completiondir=/usr/share/bash-completion/completions \
37 --with-xsl-stylesheetsdir="$_sheetdir"
39 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
47 make DESTDIR="$pkgdir" install
49 install -D -m644 etc/opensc.conf "$pkgdir/etc/opensc.conf"
52 # vim:set ts=2 sw=2 et: