summaryrefslogtreecommitdiff
path: root/repo/system/grub.xibuild
blob: ff2b85ef5e5a9036126698a442e3298e1094b995 (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 
}

package () {
    make DESTDIR=$PKG_DEST install 
    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
}