aboutsummaryrefslogtreecommitdiffstats
path: root/testing/efi-mkuki/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/efi-mkuki/APKBUILD')
-rw-r--r--testing/efi-mkuki/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/efi-mkuki/APKBUILD b/testing/efi-mkuki/APKBUILD
new file mode 100644
index 00000000000..a979520a254
--- /dev/null
+++ b/testing/efi-mkuki/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname=efi-mkuki
+pkgver=0.1.0
+pkgrel=0
+pkgdesc="EFI Unified Kernel Image Maker"
+url="https://github.com/jirutka/efi-mkuki"
+arch="noarch"
+license="MIT"
+depends="cmd:objcopy"
+source="https://github.com/jirutka/efi-mkuki/archive/v$pkgver/efi-mkuki-$pkgver.tar.gz"
+options="!check" # no tests provided
+
+case "$CARCH" in
+ # Gummiboot is currently not available for other architectures.
+ # The user has to obtain EFI stubs themselves.
+ x86*) depends="$depends gummiboot-efistub"
+esac
+
+package() {
+ make install DESTDIR="$pkgdir" prefix=/usr
+}
+
+sha512sums="
+a6745832bb0b8e1af18c70431f26d778ebd097aab14a17e87ccef4fc95170229238fed308bdc4bea4bf3589bebd8e5d21933912704c33afa9fdaf03c13a84bd3 efi-mkuki-0.1.0.tar.gz
+"