summaryrefslogtreecommitdiff
path: root/repo/system/grub.xibuild
blob: 37b4da9150b0ddd9f85eaedc950401c8b7c21f5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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 --sysconfdir=/etc --disable-werror
    make 
    make DESTDIR=$PKG_DEST install 
}

package () {
    mkdir -pv $PKG_DEST/usr/share/bash-completion/completions
    mv -v $PKG_DEST/etc/bash_completion.d/grub $PKG_DEST/usr/share/bash-completion/completions
}