# Template file for 'dracut-crypt-ssh'
pkgname=dracut-crypt-ssh
version=1.0.8
revision=1
build_style=gnu-configure
hostmakedepends="dracut which"
makedepends="libblkid-devel"
depends="dracut-network dropbear openssh"
short_desc="New initramfs infrastructure - enter LUKS passphrase remotely"
maintainer="tastytea <tastytea@tastytea.de>"
license="GPL-2.0-or-later"
homepage="https://github.com/dracut-crypt-ssh/dracut-crypt-ssh"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=98423671efc20ba04c0b3c39968e3970a451acba84e7cc0b29c8699f8eb5585e

post_install() {
	vmkdir usr/lib/dracut/dracut.conf.d
	mv ${DESTDIR}/etc/dracut.conf.d/* ${DESTDIR}/usr/lib/dracut/dracut.conf.d
}
