summaryrefslogtreecommitdiff
path: root/repo/core/grub.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-06 23:29:58 +0100
committerdavidovski <david@davidovski.xyz>2021-10-06 23:29:58 +0100
commit7ff38024bec68fe70fb6eec0f5cd16188507558f (patch)
treed9f366b28b7d31ddbe3057669474f58962541a68 /repo/core/grub.xibuild
parent76a1447eb1599f23165806b4ead10c5294039d05 (diff)
added all lfs packages
Diffstat (limited to 'repo/core/grub.xibuild')
-rw-r--r--repo/core/grub.xibuild16
1 files changed, 16 insertions, 0 deletions
diff --git a/repo/core/grub.xibuild b/repo/core/grub.xibuild
new file mode 100644
index 0000000..9a88be5
--- /dev/null
+++ b/repo/core/grub.xibuild
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+DEPS=(sh xz gettext device-mapper)
+
+SOURCE=https://ftp.gnu.org/gnu/grub/grub-2.06.tar.xz
+DESC="GNU GRand Unified Bootloader v2"
+
+build () {
+ ./configure --prefix=/usr --sysconfdic=/etc --disable-werror
+ make
+ make DESTDIR=$PKG_DEST install
+}
+
+package () {
+ mv -v $PKG_DEST/etc/bash_completion.d/grub $PKG_DEST/usr/share/bash-completion/completions
+}