[arch-commits] Commit in ccid/repos (2 files)

Christian Hesse eworm at gemini.archlinux.org
Mon Jan 31 19:25:49 UTC 2022


    Date: Monday, January 31, 2022 @ 19:25:49
  Author: eworm
Revision: 1121258

archrelease: copy trunk to community-testing-x86_64

Added:
  ccid/repos/community-testing-x86_64/
  ccid/repos/community-testing-x86_64/PKGBUILD
    (from rev 1121257, ccid/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: ccid/repos/community-testing-x86_64/PKGBUILD (from rev 1121257, ccid/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2022-01-31 19:25:49 UTC (rev 1121258)
@@ -0,0 +1,39 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Daniel Plaza <daniel.plaza.espi at gmail.com>
+
+pkgname=ccid
+pkgver=1.5.0
+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.rousseau at free.fr>
+source=("https://ccid.apdu.fr/files/${pkgname}-${pkgver}.tar.bz2"{,.asc})
+sha256sums=('81549b3422469d503996d03a3aed2ef1375b359167f10d66be9e3844e729322e'
+            '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"
+}



More information about the arch-commits mailing list