void-packages/srcpkgs/bash-completion/template

20 lines
690 B
Bash

# Template file for 'bash-completion'
pkgname=bash-completion
version=2.7
revision=2
noarch=yes
build_style=gnu-configure
make_install_args="profiledir=/etc/bash/bashrc.d"
makedepends="bash"
depends="${makedepends}"
short_desc="Programmable completion for the GNU Bash shell"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://github.com/scop/bash-completion"
distfiles="${homepage}/releases/download/${version}/bash-completion-${version}.tar.xz"
checksum=41ba892d3f427d4a686de32673f35401bc947a7801f684127120cdb13641441e
post_install() {
# remove completions provided by util-linux.
rm -f ${DESTDIR}/usr/share/bash-completion/completions/{{u,}mount*,rfkill}
}