summaryrefslogtreecommitdiffstats
path: root/abs/extra/pcsclite/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-02-13 22:54:26 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-02-13 22:54:26 (GMT)
commit83294adb1ef624ee895eb1abf4a92ae41a451cfb (patch)
treee708ffa497aa75ebb7709495ea9a1619ee5c553d /abs/extra/pcsclite/PKGBUILD
parent19686fea5913454e411f9e230d1f641bfd5bf52a (diff)
downloadlinhes_pkgbuild-83294adb1ef624ee895eb1abf4a92ae41a451cfb.zip
linhes_pkgbuild-83294adb1ef624ee895eb1abf4a92ae41a451cfb.tar.gz
linhes_pkgbuild-83294adb1ef624ee895eb1abf4a92ae41a451cfb.tar.bz2
pcsclite: dep of gnupg
Diffstat (limited to 'abs/extra/pcsclite/PKGBUILD')
-rw-r--r--abs/extra/pcsclite/PKGBUILD44
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
+}