blob: e9431738a1fc67955ce3acef0325882ec4d1a7c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer SimPilotAdamT <adam_tazul@outlook.com>
# Developer kishorv06 <https://github.com/kishorv06>
pkgname=mkinitcpio-clevis-hook
pkgver=1.0
pkgrel=6
pkgdesc="A simple hook to unlock LUKS devices on boot with clevis and TPM on Arch Linux and its derivatives, including the non-systemd versions"
arch=('any')
url="https://github.com/kishorv06/arch-mkinitcpio-clevis-hook"
license=("GPL3")
depends=("clevis" "tpm2-tools" "luksmeta" "libpwquality" "mkinitcpio" "tpm2-abrmd")
makedepends=("git")
source=("git+$url.git/")
md5sums=("SKIP")
build() {
printf ""
}
package() {
mkdir -p "$pkgdir"/etc/initcpio/hooks/
mkdir -p "$pkgdir"/etc/initcpio/install/
install -Dm644 "$srcdir"/arch-mkinitcpio-clevis-hook/hooks/clevis "$pkgdir"/etc/initcpio/hooks/
install -Dm644 "$srcdir"/arch-mkinitcpio-clevis-hook/install/clevis "$pkgdir"/etc/initcpio/install/
}
|