void-packages/srcpkgs/mkinitcpio-encryptssh/template
2018-11-20 02:12:19 -02:00

21 lines
941 B
Bash

# Template file for 'mkinitcpio-encryptssh'
pkgname=mkinitcpio-encryptssh
version=0.16
revision=2
_version_suffix=1
noarch=yes
wrksrc="dropbear_initrd_encrypt-${version}-${_version_suffix}"
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 <abc@pompel.me>"
license="GPL-3"
homepage="https://github.com/grazzolini/dropbear_initrd_encrypt"
distfiles="https://github.com/grazzolini/dropbear_initrd_encrypt/archive/v${version}-${_version_suffix}.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
}