# Contributor: Jon Nordby # Maintainer: Pablo Lezaeta =199" "bash>=4.0") optdepends=("cryptsetup: Part of the Crypto setup" "dmraid: Part of the Raid setup" "lvm2: Part of the LVM setup" "mdadm: Part of the MDadmin thing" "kexec-tools: For switch kernels without reboot support" "gnupg>=2.1: For OpenPGP smartcards support") makedepends=("docbook-xsl" "asciidoc") backup=("etc/dracut.conf") install="dracut.install" source=("http://www.kernel.org/pub/linux/utils/boot/$pkgname/${pkgname}-${pkgver}.tar.xz" "http://www.kernel.org/pub/linux/utils/boot/$pkgname/${pkgname}-${pkgver}.tar.sign") # Skip the check since it requiere rpm to work, such portable, wow deb, much other packagemanager #check() { # cd "${srcdir}/${pkgname}-${pkgver}" # # make check #} prepare() { cd "${srcdir}/${pkgname}-${pkgver}" # For it to work with current dependencies ## Thanks 14mRh4X0r sed -i 's|$(arch)|$(uname -m)|g' "${srcdir}/${pkgname}-${pkgver}/modules.d/90crypt/module-setup.sh" } build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin \ --libdir=/usr/lib --libexecdir=/usr/lib/dracut \ --systemdsystemunitdir=/usr/lib/systemd/system \ --bashcompletiondir=/usr/share/bash-completion/completions \ --sysconfdir=/etc --loginstalldir=/var/log/dracut make sysconfdir=/etc prefix=/usr \ bindir=/usr/bin sbindir=/usr/bin \ libdir=/usr/lib libexecdir=/usr/lib/dracut \ systemdsystemunitdir=/usr/lib/systemd/system \ bashcompletiondir=/usr/share/bash-completion/completions \ sysconfdir=/etc loginstall=/var/log/dracut } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" sysconfdir=/etc prefix=/usr \ bindir=/usr/bin sbindir=/usr/bin \ libdir=/usr/lib libexecdir=/usr/lib/dracut \ systemdsystemunitdir=/usr/lib/systemd/system \ bashcompletiondir=/usr/share/bash-completion/completions \ sysconfdir=/etc loginstall=/var/log/dracut install } validpgpkeys=("4C96E1500F9421CCF82D5DCA034EB370014DF270") # Harald Hoyer md5sums=('62d474ccb8411ec4a76ba5c79bc1093a' 'SKIP') # You already have the pgp to check, this is more # for a backup check than a proper check sum so only # trust that pgp above all