pkgname=bash-completion pkgver=2.14.0 pkgrel=1 pkgdesc="Programmable completion for the bash shell" arch=('x86_64') url="https://github.com/scop/bash-completion" license=('GPL-2.0-only') depends=('bash') options=('!emptydirs' '!makeflags') source=(https://github.com/scop/bash-completion/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz) sha256sums=(5c7494f968280832d6adb5aa19f745a56f1a79df311e59338c5efa6f7285e168) build() { cd ${pkgname}-${pkgver} local configure_args=( --sysconfdir=/etc ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install rm -v ${pkgdir}/usr/share/bash-completion/completions/makepkg }