# Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=ccid pkgver=1.5.2 pkgrel=1 pkgdesc="USB CCID/ICCD SmartCard reader driver" url="https://ccid.apdu.fr/" arch="all" license="LGPL-2.1-or-later" depends="pcsc-lite" makedepends="perl libusb-dev pcsc-lite-dev" source="https://ccid.apdu.fr/files/ccid-$pkgver.tar.bz2" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-twinserial \ --localstatedir=/var make } package() { make DESTDIR="$pkgdir" install mkdir -p "$pkgdir"/usr/lib/udev/rules.d/ cp src/92_pcscd_ccid.rules "$pkgdir"/usr/lib/udev/rules.d/ } sha512sums=" 6f23b5b3d73f37bbb024d30aa76271e7937440da82a8cf302797b44a40cd04c7aaa1e87838d8b1a31e7459d744aa4e8e8c89ea79bd8ba4c7d5642493f0695e8d ccid-1.5.2.tar.bz2 "