Date: Tuesday, April 30, 2019 @ 09:17:18 Author: bpiotrowski Revision: 352302
archrelease: copy trunk to testing-any Added: bash-completion/repos/testing-any/ bash-completion/repos/testing-any/PKGBUILD (from rev 352301, bash-completion/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: bash-completion/repos/testing-any/PKGBUILD (from rev 352301, bash-completion/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2019-04-30 09:17:18 UTC (rev 352302) @@ -0,0 +1,31 @@ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=bash-completion +pkgver=2.9 +pkgrel=1 +pkgdesc='Programmable completion for the bash shell' +arch=(any) +url='https://github.com/scop/bash-completion' +license=(GPL2) +depends=(bash) +options=(!emptydirs !makeflags) +source=($url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz) +validpgpkeys=(A558062B6D5DA1347CD468D52B0AE2C1B09B07CB) +sha256sums=('d48fe378e731062f479c5f8802ffa9d3c40a275a19e6e0f6f6cc4b90fa12b2f5') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + + # bash-completion is sourced in /etc/bash.bashrc so that non-bash shell don't source it + rm "$pkgdir/etc/profile.d/bash_completion.sh" + + # remove Slackware's makepkg completion + rm "$pkgdir/usr/share/bash-completion/completions/makepkg" +}