summaryrefslogtreecommitdiff
path: root/core/efibootmgr/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'core/efibootmgr/MAKEPKG')
-rw-r--r--core/efibootmgr/MAKEPKG30
1 files changed, 30 insertions, 0 deletions
diff --git a/core/efibootmgr/MAKEPKG b/core/efibootmgr/MAKEPKG
new file mode 100644
index 0000000..46e8f6f
--- /dev/null
+++ b/core/efibootmgr/MAKEPKG
@@ -0,0 +1,30 @@
+#!/bin/mkpkg
+# description: Tool to modify UEFI boot manager
+# url: https://github.com/rhboot/efibootmgr
+
+
+name=efibootmgr
+version=18
+release=1
+depends=(efivar popt)
+source=(https://github.com/rhboot/$name/archive/$version/$name-$version.tar.gz)
+
+sha256sums=(
+ "442867d12f8525034a404fc8af3036dba8e1fc970998af2486c3b940dfad0874"
+)
+
+build() {
+ cd $name-$version
+ # Fix -Werror
+ sed -i 's/-Werror//' Make.defaults
+
+ make CC=clang EFIDIR=opentux EFI_LOADER=vmlinuz.efi sbindir=/sbin
+ make install CC=clang PREFIX=/ EFIDIR=opentux DESTDIR=$PKG sbindir=/sbin
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh