-
Notifications
You must be signed in to change notification settings - Fork 18
/
PKGBUILD
30 lines (25 loc) · 693 Bytes
/
PKGBUILD
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
29
30
pkgname=initramfs-scencrypt
pkgdesc="initramfs hook that adds PGP smartcard support for LUKS FDE"
pkgver=1.8
pkgrel=1
license=(MIT)
arch=(any)
depends=(gnupg)
install=${pkgname}.install
source=(scencrypt-hook
scencrypt-install
README.md)
build() {
return 0
}
package() {
mkdir -p "${pkgdir}/usr/lib/initcpio/hooks"
mkdir -p "${pkgdir}/usr/lib/initcpio/install"
cp "${srcdir}/scencrypt-hook" "${pkgdir}/usr/lib/initcpio/hooks/scencrypt"
cp "${srcdir}/scencrypt-install" "${pkgdir}/usr/lib/initcpio/install/scencrypt"
mkdir -p "${pkgdir}/usr/share/doc/${pkgname}"
cp "${srcdir}/README.md" "${pkgdir}/usr/share/doc/${pkgname}/"
}
md5sums=('SKIP'
'SKIP'
'SKIP')