summaryrefslogtreecommitdiff
path: root/repo/system/grub.xibuild
blob: 80d172f176107dafab83da27566fdfdc1c1e1828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

DEPS=(sh xz gettext device-mapper)

PKG_VER=2.06
SOURCE=https://ftp.gnu.org/gnu/grub/grub-$PKG_VER.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
}