mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
grub: move bash-completion to new location.
This commit is contained in:
parent
8b01bb1361
commit
652a5d3f26
1 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'grub'
|
# Template file for 'grub'
|
||||||
pkgname=grub
|
pkgname=grub
|
||||||
version=2.00
|
version=2.00
|
||||||
revision=11
|
revision=12
|
||||||
short_desc="GRand Unified Bootloader 2"
|
short_desc="GRand Unified Bootloader 2"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
|
@ -9,7 +9,8 @@ homepage="http://www.gnu.org/software/grub/"
|
||||||
distfiles="$GNU_SITE/grub/grub-$version.tar.xz"
|
distfiles="$GNU_SITE/grub/grub-$version.tar.xz"
|
||||||
checksum=784ec38e7edc32239ad75b8e66df04dc8bfb26d88681bc9f627133a6eb85c458
|
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"
|
liblzma-devel device-mapper-devel font-unifont-bdf fuse-devel"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
@ -75,6 +76,10 @@ do_install() {
|
||||||
printf "#!/bin/sh\ngrub-mkconfig -o /boot/grub/grub.cfg\nexit \$?\n" >> \
|
printf "#!/bin/sh\ngrub-mkconfig -o /boot/grub/grub.cfg\nexit \$?\n" >> \
|
||||||
${DESTDIR}/usr/sbin/update-grub
|
${DESTDIR}/usr/sbin/update-grub
|
||||||
chmod 755 ${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
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue