void-packages/srcpkgs/bash-completion/template

21 lines
704 B
Bash

# Template file for 'bash-completion'
pkgname=bash-completion
version=2.8
revision=1
archs=noarch
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.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/scop/bash-completion"
distfiles="${homepage}/releases/download/${version}/bash-completion-${version}.tar.xz"
checksum=c01f5570f5698a0dda8dc9cfb2a83744daa1ec54758373a6e349bd903375f54d
post_install() {
# remove completions provided by util-linux.
rm -f ${DESTDIR}/usr/share/bash-completion/completions/{{u,}mount*,rfkill}
}