diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra/pcsclite/PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/abs/extra/pcsclite/PKGBUILD b/abs/extra/pcsclite/PKGBUILD new file mode 100644 index 0000000..02e309a --- /dev/null +++ b/abs/extra/pcsclite/PKGBUILD @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Daniel Plaza <daniel.plaza.espi@gmail.com> + +pkgname=pcsclite +pkgver=1.8.23 +_dlid=4235 +pkgrel=1 +pkgdesc="PC/SC Architecture smartcard middleware library" +arch=('x86_64') +url="https://alioth.debian.org/projects/pcsclite/" +license=('BSD') +depends=('python') +makedepends=('pkg-config') +options=('!docs') +source=("https://alioth.debian.org/frs/download.php/file/${_dlid}/pcsc-lite-${pkgver}.tar.bz2" + "https://alioth.debian.org/frs/download.php/file/$((_dlid+1))/pcsc-lite-${pkgver}.tar.bz2.asc") +sha256sums=('5a27262586eff39cfd5c19aadc8891dd71c0818d3d629539bd631b958be689c9' + 'SKIP') +validpgpkeys=('F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E') # Ludovic Rousseau <rousseau@debian.org> + +build() { + cd "${srcdir}/pcsc-lite-${pkgver}" + + ./configure --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc \ + --enable-filter \ + --enable-ipcdir=/run/pcscd \ + --enable-libudev \ + --enable-usbdropdir=/usr/lib/pcsc/drivers +# --with-systemdsystemunitdir=/usr/lib/systemd/system + + make +} + +package() { + cd "${srcdir}/pcsc-lite-${pkgver}" + + make DESTDIR="${pkgdir}" install + + install -D -m644 ${srcdir}/pcsc-lite-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -d ${pkgdir}/usr/lib/pcsc/drivers +} |