From 08821f8dacc0f1d50a77898c3e09b001552bac0d Mon Sep 17 00:00:00 2001 From: Jeff Huang Date: Tue, 16 Oct 2018 01:41:43 +0200 Subject: [PATCH] [skip-ci] pcsclite: update to 1.8.24 --- pcsclite/PKGBUILD | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/pcsclite/PKGBUILD b/pcsclite/PKGBUILD index c4136449e..c46b678f8 100644 --- a/pcsclite/PKGBUILD +++ b/pcsclite/PKGBUILD @@ -1,37 +1,39 @@ pkgname=pcsclite -_pkgname=pcsc-lite -pkgver=1.8.20 -_code=39 +pkgver=1.8.24 pkgrel=1 pkgdesc="PC/SC Architecture smartcard middleware library" arch=('x86_64') -url="https://alioth.debian.org/projects/pcsclite/" +url='https://pcsclite.apdu.fr/' license=('BSD') -depends=('udev') -options=('!libtool' '!docs') -source=("https://alioth.debian.org/frs/download.php/latestfile/${_code}/pcsc-lite-${pkgver}.tar.bz2") -sha256sums=('ec7d0114016c788c1c09859c84860f6cec6c4595436d23245105154b9c046bb2') +depends=('python3' 'systemd') +makedepends=('pkg-config') +options=('!docs') +source=("https://pcsclite.apdu.fr/files/pcsc-lite-${pkgver}.tar.bz2"{,.asc}) +sha256sums=('b81864fa6a5ec776639c02ae89998955f7702a8d10e8b8f70023c5a599d97568' + 'SKIP') +validpgpkeys=('F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E') # Ludovic Rousseau build() { + cd "${srcdir}/pcsc-lite-${pkgver}" - cd "${srcdir}/${_pkgname}-${pkgver}" - sed -i -e "s:python:python2:g" src/spy/pcsc-spy - - ./configure --enable-ipcdir=/run/pcscd \ - --enable-libudev \ - --enable-usbdropdir=/usr/lib/pcsc/drivers \ - --prefix=/usr \ - --sysconfdir=/etc \ - --with-systemdsystemunitdir=/usr/lib/systemd/system + ./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}/${_pkgname}-${pkgver}" + cd "${srcdir}/pcsc-lite-${pkgver}" make DESTDIR="${pkgdir}" install - install -D "${srcdir}/${_pkgname}-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt" - install -d "${pkgdir}/usr/lib/pcsc/drivers" + install -D -m644 ${srcdir}/pcsc-lite-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -d ${pkgdir}/usr/lib/pcsc/drivers }