summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 527ab834db67c65096ea15fb2d79b979e53075fd (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
# Maintainer therojam <archlinux@therojam.xyz>

pkgname=yubikey-full-disk-encryption-git
_pkgname=yubikey-full-disk-encryption
pkgver=r82.a2843e1
pkgrel=1
pkgdesc='Use YubiKey to unlock a LUKS partition'
arch=('any')
url='https://github.com/agherzan/yubikey-full-disk-encryption'
license=('GPL')
depends=('yubikey-personalization' 'cryptsetup' 'udisks2' 'expect')
makedepends=('git')
backup=('etc/ykfde.conf')
source=('git+https://github.com/agherzan/yubikey-full-disk-encryption.git')
sha256sums=('SKIP')

pkgver() {
	  cd "${pkgname}"
	    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
    }

package() {
	  cd "${pkgname}"
	    make DESTDIR="${pkgdir}" install
    }