From 83294adb1ef624ee895eb1abf4a92ae41a451cfb Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 13 Feb 2018 22:54:26 +0000 Subject: pcsclite: dep of gnupg --- abs/extra/pcsclite/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 abs/extra/pcsclite/PKGBUILD 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 +# Contributor: Daniel Plaza + +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 + +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 +} -- cgit v0.12