summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 70a06a45554d8e4809a880e0ada6c3c3bb9b8302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pkgname=keyencrypt
pkgver=1.1.0
pkgrel=1
pkgdesc="mkinitpio hook to decrypt /rootkey.gpg, which is then fowarded to cryptsetup's hook
encrypt for root decryption, usefull to boot from a non-encrypted usb key."
arch=(any)
depends=(mkinitcpio cryptsetup gnupg)
conflicts=(gpgunlock)
source=(hook hook_install rootkey.sh)
md5sums=(SKIP SKIP SKIP)
install=install

package() {
    cd "$srcdir"
	install -Dm644 hook "$pkgdir"/usr/lib/initcpio/hooks/keyencrypt
	install -Dm644 hook_install "$pkgdir"/usr/lib/initcpio/install/keyencrypt
    
    install -Dm755 rootkey.sh "$pkgdir"/usr/bin/setbootpassword
}