* update bash-completion to 2.15.0-1

This commit is contained in:
Alexander Baldeck 2024-12-31 11:16:34 +01:00
parent d691acefbf
commit be9de8f2c8

View File

@ -1,9 +1,10 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Eric Bélanger <eric@archlinux.org>
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Eric Bélanger <eric@archlinux.org>
pkgname=bash-completion
pkgver=2.14.0
pkgrel=2.1
pkgver=2.15.0
pkgrel=1
pkgdesc='Programmable completion for the bash shell'
arch=(any)
url='https://github.com/scop/bash-completion'
@ -13,21 +14,22 @@ options=(!emptydirs !makeflags)
backup=('etc/bash_completion.d/000_bash_completion_compat.bash')
source=($url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz)
validpgpkeys=(A558062B6D5DA1347CD468D52B0AE2C1B09B07CB)
sha256sums=('5c7494f968280832d6adb5aa19f745a56f1a79df311e59338c5efa6f7285e168')
b2sums=('d2234cb2baf8494d2159e8abe6780e0879efb6fe9e851c0d51ebf09363c83652ef610658e2beca181adc0d6c844472a68a219be8b3ca51271fdfc53477f174ba')
build() {
cd $pkgname-$pkgver
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
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"
rm "${pkgdir}/etc/profile.d/bash_completion.sh"
# remove Slackware's makepkg completion
rm "$pkgdir/usr/share/bash-completion/completions/makepkg"
rm "${pkgdir}/usr/share/bash-completion/completions/makepkg"
}