summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bfd3bcc49388ad1fb77c3f4b733109b7929afc69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Denis A. AltoƩ Falqueto <denisfalqueto@gmail.com>
# Contributor: Geyslan G. Bem <geyslan@gmail.com>
pkgname=safesignidentityclient
pkgver=3.5.6.1
pkgrel=2
pkgdesc="Smart card PKCS#11 provider and token manager"
arch=('x86_64')
url="https://www.uziregister.nl/uzi-pas/documenten/publicaties/2020/09/02/safesign-version-3.5.6.1-for-linux"
license=('custom:copyright')
depends=('pcsclite' 'wxgtk2' 'openssl-1.0' 'xdg-utils' 'libmspack' 'ccid')
optdepends=('acsccid: ACS CCID PC/SC driver',
            'scmccid: binary driver for the SCM Smart Card Readers')
source_x86_64=("https://www.uziregister.nl/binaries/uziregister/documenten/publicaties/2020/09/02/safesign-version-$pkgver-for-linux/SafeSign+IC+Standard+Linux+$pkgver-AET.000+ub1804+$arch.deb.zip")
sha256sums_x86_64=('3c0c4b40d6026a110e7c4dd91ecd0aca4b44fda0576908e1b93f01ef7fb275d8')

prepare() {
  ar x 'SafeSign IC Standard Linux 3.5.6.1-AET.000 ub1804 x86_64.deb'
  tar xvf data.tar.xz
}

package() {
  cd ${pkgdir}

  cp -R ${srcdir}/usr ${pkgdir}

  install -d ${pkgdir}/usr/share/licenses/${pkgname}
  install -m 644 ${srcdir}/usr/share/doc/${pkgname}/copyright ${pkgdir}/usr/share/licenses/${pkgname}/copyright
}