PKGBUILD 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Maintainer: David P. <megver83@parabola.nu>
  2. # Maintainer (arch): Alad Wenter <alad@archlinux.org>
  3. # Maintainer (arch): Christian Hesse <mail@eworm.de>
  4. # Contributor: Giovanni Scafora <giovanni@archlinux.org>
  5. # Contributor: Daniel Plaza <daniel.plaza.espi@gmail.com>
  6. pkgname=pcsclite
  7. pkgver=1.9.0
  8. pkgrel=1
  9. pkgrel+=.nonsystemd1
  10. pkgdesc="PC/SC Architecture smartcard middleware library"
  11. arch=('x86_64')
  12. arch+=('i686' 'armv7h')
  13. url='https://pcsclite.apdu.fr/'
  14. license=('BSD')
  15. depends=('python' 'libudev')
  16. makedepends=('pkg-config' 'udev' 'libudev.so')
  17. provides=('libpcsclite.so' 'libpcscspy.so')
  18. options=('!docs')
  19. validpgpkeys=('F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E') # Ludovic Rousseau <rousseau@debian.org>
  20. source=("https://pcsclite.apdu.fr/files/pcsc-lite-${pkgver}.tar.bz2"{,.asc})
  21. sha256sums=('0148d403137124552c5d0f10f8cdab2cbb8dfc7c6ce75e018faf667be34f2ef9'
  22. 'SKIP')
  23. build() {
  24. cd "pcsc-lite-$pkgver"
  25. ./configure \
  26. --prefix=/usr \
  27. --sbindir=/usr/bin \
  28. --sysconfdir=/etc \
  29. --enable-filter \
  30. --enable-ipcdir=/run/pcscd \
  31. --enable-libudev \
  32. --enable-usbdropdir=/usr/lib/pcsc/drivers \
  33. --disable-libsystemd
  34. make
  35. }
  36. package() {
  37. cd "pcsc-lite-$pkgver"
  38. make DESTDIR="$pkgdir" install
  39. install -D -m0644 "$srcdir/pcsc-lite-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  40. install -d "$pkgdir/usr/lib/pcsc/drivers"
  41. }