21 lines
881 B
Bash
21 lines
881 B
Bash
# Template file for 'mkinitcpio-encryptssh'
|
|
pkgname=mkinitcpio-encryptssh
|
|
version=0.16
|
|
revision=1
|
|
_realname=dropbear_initrd_encrypt
|
|
wrksrc="$_realname-$version-$revision"
|
|
noarch=yes
|
|
depends="mkinitcpio cryptsetup dropbear mkinitcpio-nfs-utils psmisc iproute2"
|
|
short_desc="Allows for an encrypted root device to be unlocked remotely over SSH"
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
license="GPL-3"
|
|
homepage="https://github.com/grazzolini/dropbear_initrd_encrypt"
|
|
distfiles="$homepage/archive/v$version-$revision.tar.gz"
|
|
checksum=6b24ea3d6e1ee55d304ca31707fe17c545f7ea843a13b764e22475f838c41eae
|
|
|
|
do_install() {
|
|
vinstall dropbear_hook 644 usr/lib/initcpio/hooks dropbear
|
|
vinstall dropbear_install 644 usr/lib/initcpio/install dropbear
|
|
vinstall encryptssh_hook 644 usr/lib/initcpio/hooks encryptssh
|
|
vinstall encryptssh_install 644 usr/lib/initcpio/install encryptssh
|
|
}
|