# Template file for 'bash-completion'
pkgname=bash-completion
version=2.6
revision=1
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=61fb652da0b1674443c34827263fe2335f9ddb12670bff208fc383a8955ca5ef

post_install() {
	# remove completions provided by util-linux.
	rm -f ${DESTDIR}/usr/share/bash-completion/completions/{u,}mount*
}
