main/bash-completion: upgrade to 2.12.0

This commit is contained in:
J0WI 2024-03-25 18:38:30 +01:00 committed by omni
parent 52e7931028
commit fa25c2ff19

View File

@ -2,10 +2,9 @@
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Lucas Ramage <ramage.lucas@protonmail.com>
pkgname=bash-completion
pkgver=2.11
pkgrel=6
pkgver=2.12.0
pkgrel=0
pkgdesc="Command-line tab-completion for bash"
options="!check" # 7 Tests fail
url="https://github.com/scop/bash-completion"
arch="noarch"
license="GPL-2.0-or-later"
@ -69,7 +68,7 @@ check() {
}
package() {
make -j1 DESTDIR="$pkgdir" install
make DESTDIR="$pkgdir" install
# /etc/profile sources profile.d, and this occurs only in login shells
# it should not then load completions or expect the bashrc to source the profile directory.
@ -78,10 +77,9 @@ package() {
mv "$pkgdir"/etc/profile.d/bash_completion.sh \
"$pkgdir"/etc/bash/
rmdir -p "$pkgdir"/etc/profile.d/ || true
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
install -m644 AUTHORS CHANGES CONTRIBUTING.md README.md \
install -m644 AUTHORS CHANGELOG.md CONTRIBUTING.md README.md \
"$pkgdir"/usr/share/doc/$pkgname/
cd "$pkgdir"/usr/share/bash-completion/completions
@ -94,5 +92,5 @@ package() {
}
sha512sums="
41585f730b5114d397831ba36d10d05643c6a6179e746ddc49aa1cbef61ea5525fd2f09b2e474adee14e647f99df8d5983ee48e29a59d8a30e1daf7fb1837e06 bash-completion-2.11.tar.xz
f8a12f607c98021d37ade11da14118a282bd4afdf7b25029ee69679c0bc708afded83e47bdf2b81eeb708b8cbd53f2a13dae0641ac6a4dbcf45faeeb1cc7ec8a bash-completion-2.12.0.tar.xz
"