summaryrefslogtreecommitdiff
path: root/core/efibootmgr/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /core/efibootmgr/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
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