28 lines
1021 B
Bash
28 lines
1021 B
Bash
# Template file for 'mkinitcpio-utils'
|
|
pkgname=mkinitcpio-utils
|
|
version=0.0.4
|
|
revision=1
|
|
depends="cryptsetup device-mapper mkinitcpio"
|
|
short_desc="Collection of mkinitcpio utilities to perform various tasks"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/grazzolini/mkinitcpio-utils"
|
|
distfiles="https://github.com/grazzolini/mkinitcpio-utils/archive/v${version}.tar.gz"
|
|
checksum=e42149b66f961d19e524b603fcb6f0d1e33ede18734b44f23c8b3e1cc353f977
|
|
replaces="mkinitcpio-encryptssh>=0"
|
|
|
|
do_install() {
|
|
vinstall utils/shells/cryptsetup_shell 0755 \
|
|
usr/share/mkinitcpio-utils/utils/shells
|
|
vinstall initcpio/hooks/encryptssh 0644 usr/lib/initcpio/hooks
|
|
vinstall initcpio/install/encryptssh 0644 usr/lib/initcpio/install
|
|
vlicense LICENSE
|
|
}
|
|
|
|
mkinitcpio-encryptssh_package() {
|
|
build_style=meta
|
|
reverts="0.16_1 0.16_2 0.16_3"
|
|
short_desc="Remote unlocking of encrypted roots (transitional dummy package)"
|
|
depends="${sourcepkg} mkinitcpio-netconf mkinitcpio-dropbear"
|
|
}
|