# Maintainer: Valeria Fadeeva pkgname=melawy-dracut-ukify pkgver=0 pkgrel=1 pkgdesc="Integration layer for dracut and systemd's ukify tool for Arch Linux. Placing kernels to /ESP_PATH/EFI/Linux" url="https://github.com/Valeria-Fadeeva/melawy-dracut-ukify" arch=(any) license=('AGPL3') depends=(dracut systemd-ukify python util-linux python-pefile) optdepends=( 'sbsigntools: secureboot support' ) source=('10-dracut-ukify-pre-install.hook' '60-dracut-ukify-remove.hook' '90-dracut-ukify-install.hook' 'dracut-ukify') sha256sums=('e9592f4f738e8ac70044db1e3f0c4839bc07f37662d5dbc221230cf1617a6b4d' '341cd01546d840e7401f7bec868a78e2f6ca12563e93d993a07bc51efe674ed0' '08225b2c3f5e2a734561b5fa9a3e84060dfffd85b2898adb0fff0ce3b068b4d0' '45de7b379bca66b96327b0a7957fefce5acc53968828cc412f5e5d0f13c4151f') backup=() provides=(dracut-hook) conflicts=(dracut-hook-uefi dracut-uefi-hook) package() { install -Dm644 "${srcdir}/10-dracut-ukify-pre-install.hook" "${pkgdir}/usr/share/libalpm/hooks/10-dracut-ukify-pre-install.hook" install -Dm644 "${srcdir}/60-dracut-ukify-remove.hook" "${pkgdir}/usr/share/libalpm/hooks/60-dracut-ukify-remove.hook" install -Dm644 "${srcdir}/90-dracut-ukify-install.hook" "${pkgdir}/usr/share/libalpm/hooks/90-dracut-ukify-install.hook" install -Dm755 "${srcdir}/dracut-ukify" "${pkgdir}/usr/bin/dracut-ukify" }