Date: Friday, October 13, 2017 @ 06:23:13 Author: eworm Revision: 262496
archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: ccid/repos/community-testing-i686/ ccid/repos/community-testing-i686/PKGBUILD (from rev 262495, ccid/trunk/PKGBUILD) ccid/repos/community-testing-x86_64/ ccid/repos/community-testing-x86_64/PKGBUILD (from rev 262495, ccid/trunk/PKGBUILD) -----------------------------------+ community-testing-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++ community-testing-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) Copied: ccid/repos/community-testing-i686/PKGBUILD (from rev 262495, ccid/trunk/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-10-13 06:23:13 UTC (rev 262496) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Daniel Plaza <daniel.plaza.e...@gmail.com> + +pkgname=ccid +pkgver=1.4.28 +pkgrel=1 +_magic_dl_id=4230 +pkgdesc="A generic USB Chip/Smart Card Interface Devices driver" +arch=('i686' 'x86_64') +url="http://pcsclite.alioth.debian.org/ccid.html" +license=('LGPL' 'GPL') +depends=('pcsclite' 'libusb' 'flex') +backup=(etc/reader.conf.d/libccidtwin) +validpgpkeys=(F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E) # Ludovic Rousseau <ludovic.rouss...@free.fr> +source=("https://alioth.debian.org/frs/download.php/file/${_magic_dl_id}/${pkgname}-${pkgver}.tar.bz2" + "https://alioth.debian.org/frs/download.php/file/$((_magic_dl_id+1))/${pkgname}-${pkgver}.tar.bz2.asc") +sha256sums=('875836ac5d9d952b40dc1a253a726e74361671864d81337285a3260268f8ade0' + 'SKIP') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --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" +} Copied: ccid/repos/community-testing-x86_64/PKGBUILD (from rev 262495, ccid/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-10-13 06:23:13 UTC (rev 262496) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Daniel Plaza <daniel.plaza.e...@gmail.com> + +pkgname=ccid +pkgver=1.4.28 +pkgrel=1 +_magic_dl_id=4230 +pkgdesc="A generic USB Chip/Smart Card Interface Devices driver" +arch=('i686' 'x86_64') +url="http://pcsclite.alioth.debian.org/ccid.html" +license=('LGPL' 'GPL') +depends=('pcsclite' 'libusb' 'flex') +backup=(etc/reader.conf.d/libccidtwin) +validpgpkeys=(F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E) # Ludovic Rousseau <ludovic.rouss...@free.fr> +source=("https://alioth.debian.org/frs/download.php/file/${_magic_dl_id}/${pkgname}-${pkgver}.tar.bz2" + "https://alioth.debian.org/frs/download.php/file/$((_magic_dl_id+1))/${pkgname}-${pkgver}.tar.bz2.asc") +sha256sums=('875836ac5d9d952b40dc1a253a726e74361671864d81337285a3260268f8ade0' + 'SKIP') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --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" +}