Aggiunta pacchetto per middleware xpki.

This commit is contained in:
Emiliano Vavassori 2022-01-24 14:32:20 +01:00
commit 4bfbff2175
2 changed files with 25 additions and 0 deletions

22
PKGBUILD Normal file
View File

@ -0,0 +1,22 @@
# Maintainer: Emiliano Vavassori <syntaxerrormmm@gmail.com>
pkgname=bit4id-xpki
pkgver=1.0.0
pkgrel=1
pkgdesc="Bit4ID Universal Middleware (Actalis/Oberthur/Idemia Smart Card driver)"
arch=('x86_64')
license=('unknown')
url="http://www.bit4id.com/"
install=$pkgname.install
options=('!strip')
depends=('ccid' 'opensc' 'pcsc-tools')
ARCH='amd64'
md5sums=('1a65703ee7298e21842041a722ee4831')
source=('https://swdownload1.agenziaentrate.gov.it/pub/sanita/libbit4xpki-idemia-amd64.1.4.10-622.deb')
package() {
ar -xv libbit4xpki-idemia-amd64.1.4.10-622.deb || return 1
tar -xvf data.tar.[xg]z -C $pkgdir || return 1
}

3
bit4id-xpki.install Normal file
View File

@ -0,0 +1,3 @@
post_install() {
echo "You need to add the installed module (/usr/lib/bit4id/libbit4xpki.so) to each program that needs to access the smart card."
}