# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=secureboot-hook pkgver=0.1 pkgrel=2 pkgdesc="A kernel hook for generating signed UEFI Unified Kernel Image" url="https://gitlab.alpinelinux.org/alpine/aports" arch="noarch !armhf !s390x !ppc64le !mips !mips64" # limited by sbsigntool license="MIT" depends="efi-mkuki kernel-hooks mkinitfs sbsigntool" install="$pkgname.post-install $pkgname.pre-deinstall" source="secureboot.hook secureboot.conf " options="!check" # no tests provided package() { local name='secureboot' install -D -m755 "$srcdir"/$name.hook "$pkgdir"/usr/share/kernel-hooks.d/$name.hook install -D -m644 "$srcdir"/$name.conf "$pkgdir"/etc/kernel-hooks.d/$name.conf install -d -m700 "$pkgdir"/etc/uefi-keys } sha512sums=" 10ef8d0a1fa7f3d323f69b1321fea02add512b40fc97b05b51f507544567bd6518816efaa46d2b50876c71d2e13acdcc25f92271b3f668d2be5e4e534ac4651c secureboot.hook 88fd68ab53388517232abae098236feea44f7cffa0e72befb4112def457f7ef6b269e6003f02195c8dcb98414620de65a30a895abd4d29f221a4622180c47db0 secureboot.conf "