summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2018-09-12 03:11:21 -0600
committerBrian Bidulock2018-09-12 03:11:21 -0600
commit9e6283e759aa099c0f65d8bc8d2404db7d9253ea (patch)
treed87387e0fb33d6d6b85062d25a07a680bdc1e5cb
downloadaur-9e6283e759aa099c0f65d8bc8d2404db7d9253ea.tar.gz
initial version
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD45
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..be36be2df82
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = pcsclite-nopy
+ pkgdesc = PC/SC Architecture smartcard middleware library (no python)
+ pkgver = 1.8.23
+ pkgrel = 3
+ url = https://pcsclite.apdu.fr/
+ arch = x86_64
+ arch = i686
+ license = BSD
+ makedepends = pkg-config
+ makedepends = python
+ depends = libsystemd
+ optdepends = python: to use pcsc-spy tool
+ provides = pcsclite=1.8.23
+ conflicts = pcsclite
+ options = !docs
+ source = https://pcsclite.apdu.fr/files/pcsc-lite-1.8.23.tar.bz2
+ sha256sums = 5a27262586eff39cfd5c19aadc8891dd71c0818d3d629539bd631b958be689c9
+
+pkgname = pcsclite-nopy
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f24f0511b78
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Brian Bidulock <bidulock@openss7.org>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Daniel Plaza <daniel.plaza.espi@gmail.com>
+
+pkgname=pcsclite-nopy
+_pkgname=pcsclite
+pkgver=1.8.23
+pkgrel=3
+pkgdesc="PC/SC Architecture smartcard middleware library (no python)"
+arch=('x86_64' 'i686')
+url='https://pcsclite.apdu.fr/'
+license=('BSD')
+depends=('libsystemd')
+makedepends=('pkg-config' 'python')
+optdepends=('python: to use pcsc-spy tool')
+options=('!docs')
+validpgpkeys=('F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E') # Ludovic Rousseau <rousseau@debian.org>
+source=("https://pcsclite.apdu.fr/files/pcsc-lite-${pkgver}.tar.bz2")
+sha256sums=('5a27262586eff39cfd5c19aadc8891dd71c0818d3d629539bd631b958be689c9')
+provides=($_pkgname=$pkgver)
+conflicts=($_pkgname)
+
+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
+}