commit 80febee2e272ca73733c4fa7882db19d5146ff4f Author: Emiliano Vavassori Date: Sat Mar 27 01:46:43 2021 +0100 Import iniziale funzionante. diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..6c832fa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Emiliano Vavassori + +pkgname=bit4id-opki +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Bit4ID Universal Middleware (Oberthur Smart Card driver)" +arch=('x86_64') +license=('unknown') +url="http://www.bit4id.com/" +install=$pkgname.install +options=('!strip') + +ARCH='amd64' +md5sums=('ff9dc26f53f60dd324c842754cd31b3e') + +source=('https://www.globogis.it/sites/default/files/SoftwareCNS/libbit4opki-amd64.deb') + +package() { + ar -xv libbit4opki-amd64.deb || return 1 + tar -xvf data.tar.[xg]z -C $pkgdir || return 1 +} diff --git a/bit4id-opki.install b/bit4id-opki.install new file mode 100644 index 0000000..a978388 --- /dev/null +++ b/bit4id-opki.install @@ -0,0 +1,3 @@ +post_install() { + echo "You need to add the installed module (/usr/lib/libbit4opki.so) to each program that needs to access the smart card." +}