Commit iniziale funzionante - Driver bit4id per CCID - binario da amd64 .deb.

This commit is contained in:
Emiliano Vavassori 2022-11-01 15:11:28 +01:00
commit 84d77094c8
2 changed files with 32 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.tar.*
*.deb

30
PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
# Maintainer: Emiliano Vavassori <syntaxerrormmm@gmail.com>
pkgname=bit4id-ccid-bin
pkgver=3.1.1.567
pkgrel=1
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=
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
}