Date: Wednesday, July 28, 2021 @ 21:24:28 Author: eworm Revision: 989567
archrelease: copy trunk to community-testing-x86_64 Added: ccid/repos/community-testing-x86_64/ ccid/repos/community-testing-x86_64/PKGBUILD (from rev 989566, ccid/trunk/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: ccid/repos/community-testing-x86_64/PKGBUILD (from rev 989566, ccid/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-07-28 21:24:28 UTC (rev 989567) @@ -0,0 +1,39 @@ +# Maintainer: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Daniel Plaza <daniel.plaza.e...@gmail.com> + +pkgname=ccid +pkgver=1.4.35 +pkgrel=1 +pkgdesc='A generic USB Chip/Smart Card Interface Devices driver' +arch=('x86_64') +url='https://ccid.apdu.fr/' +license=('LGPL' 'GPL') +depends=('pcsclite' 'libusb' 'flex') +backup=('etc/reader.conf.d/libccidtwin') +validpgpkeys=('F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E') # Ludovic Rousseau <ludovic.rouss...@free.fr> +source=("https://ccid.apdu.fr/files/${pkgname}-${pkgver}.tar.bz2"{,.asc}) +sha256sums=('7c3e2a7924edda722189ca57c8d1cffa51e7f9354a23e81aecd9d1ae8d9710ca' + 'SKIP') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure \ + LEXLIB='' \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-twinserial \ + --enable-serialconfdir=/etc/reader.conf.d + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + # move the configuration file in /etc and create a symbolic link + mv "${pkgdir}/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist" "${pkgdir}/etc/libccid_Info.plist" + ln -s /etc/libccid_Info.plist "${pkgdir}/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist" + + install -Dm644 src/92_pcscd_ccid.rules "${pkgdir}/usr/lib/udev/rules.d/92_pcscd_ccid.rules" +}