# Maintainer: Emiliano Vavassori pkgname=bit4id-ccid-bin pkgver=3.1.1.567 pkgrel=2 pkgdesc="Driver for bit4id CCID lectors - amd64 from .deb" arch=('x86_64') license=('LGPL') url="https://www.bit4id.com/assistenza-clienti/minilector-air-3/" install=bit4id-ccid-bin.install options=('!strip') depends=('ccid' 'opensc' 'pcsc-tools') ARCH='amd64' md5sums=('c576fd70d157483cf608561007ebf0f5') source=('https://b4-support-resources.s3.eu-south-1.amazonaws.com/root/Prodotti/Dispositivi/minilector-air-3/minilector-air-3-linux-driver-bit4id-ccid-amd64.deb') build() { pkgsrc=$srcdir/$pkgbase-$pkgver mkdir $pkgsrc ar -xv minilector-air-3-linux-driver-bit4id-ccid-amd64.deb || return 1 tar -xvf data.tar.[xg]z -C $pkgsrc || return 1 } package() { cd $srcdir/$pkgbase-$pkgver/usr/share/bit4id/ccid-v3 install -d $pkgdir/usr/lib/pcsc/drivers cp -r ifd-bit4ccid.bundle $pkgdir/usr/lib/pcsc/drivers }