summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 62ef78b3ba02a8b76c87661f2f9636a262042d1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=solokey-full-disk-encryption
pkgver=r39.ee0359d
pkgrel=1
pkgdesc='Use SoloKey to unlock a LUKS partition'
arch=('any')
url='https://github.com/saravanan30erd/solokey-full-disk-encryption'
license=('Apache')
depends=('fido2luks' 'cryptsetup')
makedepends=('git')
backup=('etc/skfde.conf')
source=('git+https://github.com/saravanan30erd/solokey-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
}