grub: move bash-completion to new location.

This commit is contained in:
Juan RP 2013-09-14 04:52:47 +02:00
parent 8b01bb1361
commit 652a5d3f26

View file

@ -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 <xtraeme@gmail.com>"
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