aboutsummaryrefslogtreecommitdiffstats
path: root/mkinitcpio-pkcs11/PKGBUILD
blob: 180fca0a6038315e480c07ce109ce0100cbfd6fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Maintainer: Tharre <tharre3@gmail.com>

pkgname=mkinitcpio-pkcs11
pkgver=0.5
pkgrel=1
pkgdesc='Install pkcs11 in early boot (systemd cryptsetyp.target) using pcscd.socket'
depends=('ccid' 'opensc' 'pcsclite' 'p11-kit')
arch=('any')
source=('pkcs11_install')
sha256sums=('671e5eaa45ad51174c380414000e33ddc0399ba71cc07f01cd64521ef56b4345')

package() {
    install -Dm644 pkcs11_install "$pkgdir/usr/lib/initcpio/install/pkcs11"
    install -Dm644 /dev/stdin "$pkgdir/etc/pkcs11/modules/opensc.module" <<EOF
module: opensc-pkcs11.so
EOF
}