1 # Maintainer: Anatol Pomozov
2 # Contributor: therojam <archlinux@therojam.xyz>
4 pkgname=yubikey-full-disk-encryption
5 _commit=dcaac005b10eac132ac663c268318bd909bf027c
8 pkgdesc='Use YubiKey to unlock a LUKS partition'
10 url='https://github.com/agherzan/yubikey-full-disk-encryption'
12 depends=(yubikey-personalization cryptsetup)
13 optdepends=('ykchalresp-nfc: NFC support'
14 'udisks2: use ykfde-open without root'
15 'expect: use ykfde-open without root')
17 backup=(etc/ykfde.conf)
18 source=(git+https://github.com/agherzan/yubikey-full-disk-encryption.git#commit=$_commit)
22 cd yubikey-full-disk-encryption
23 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
27 cd yubikey-full-disk-encryption
28 make DESTDIR="$pkgdir" install