diff --git a/srcpkgs/grub/template b/srcpkgs/grub/template index 5f29b9659b6..4c653bb97cf 100644 --- a/srcpkgs/grub/template +++ b/srcpkgs/grub/template @@ -1,7 +1,7 @@ # Template file for 'grub' pkgname=grub version=2.00 -revision=11 +revision=12 short_desc="GRand Unified Bootloader 2" maintainer="Juan RP " license="GPL-3" @@ -9,7 +9,8 @@ homepage="http://www.gnu.org/software/grub/" distfiles="$GNU_SITE/grub/grub-$version.tar.xz" checksum=784ec38e7edc32239ad75b8e66df04dc8bfb26d88681bc9f627133a6eb85c458 -makedepends="flex libusb-compat-devel ncurses-devel freetype-devel +hostmakedepends="flex" +makedepends="libusb-compat-devel ncurses-devel freetype-devel liblzma-devel device-mapper-devel font-unifont-bdf fuse-devel" do_configure() { @@ -75,6 +76,10 @@ do_install() { printf "#!/bin/sh\ngrub-mkconfig -o /boot/grub/grub.cfg\nexit \$?\n" >> \ ${DESTDIR}/usr/sbin/update-grub chmod 755 ${DESTDIR}/usr/sbin/update-grub + + vmkdir usr/share/bash-completion/completions + mv ${DESTDIR}/etc/bash_completion.d/grub \ + ${DESTDIR}/usr/share/bash-completion/completions } if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then