2011-02-17 11:10:31 +01:00
|
|
|
# Template file for 'bash-completion'
|
|
|
|
pkgname=bash-completion
|
2013-09-14 05:02:57 +02:00
|
|
|
version=2.1
|
2013-09-14 05:31:28 +02:00
|
|
|
revision=2
|
2013-04-12 08:55:23 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
makedepends="bash"
|
2011-02-17 11:10:31 +01:00
|
|
|
short_desc="Programmable completion for the GNU Bash shell"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-03-18 07:17:52 +01:00
|
|
|
license="GPL-2"
|
2013-04-12 08:55:23 +02:00
|
|
|
homepage="http://bash-completion.alioth.debian.org/"
|
|
|
|
distfiles="http://${pkgname}.alioth.debian.org/files/${pkgname}-${version}.tar.bz2"
|
2013-09-14 05:02:57 +02:00
|
|
|
checksum=2b606804a7d5f823380a882e0f7b6c8a37b0e768e72c3d4107c51fbe8a46ae4f
|
2011-02-17 11:10:31 +01:00
|
|
|
long_desc="
|
|
|
|
bash completion extends bash's standard completion behavior to achieve
|
|
|
|
complex command lines with just a few keystrokes. This project was conceived
|
|
|
|
to produce programmable completion routines for the most common Linux/UNIX
|
|
|
|
commands, reducing the amount of typing sysadmins and programmers need to
|
|
|
|
do on a daily basis."
|
|
|
|
|
2013-09-14 05:31:28 +02:00
|
|
|
post_install() {
|
|
|
|
# remove completions provided by util-linux.
|
|
|
|
for f in su dmesg ionice rtcwake look hexdump chsh renice hwclock \
|
|
|
|
cal eject newgrp; do
|
|
|
|
rm -f ${DESTDIR}/usr/share/bash-completion/completions/${f}
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
bash-completion_package() {
|
|
|
|
depends="bash"
|
|
|
|
noarch="yes"
|
|
|
|
pkg_install() {
|
2013-09-14 05:02:57 +02:00
|
|
|
vmove all
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|