summaryrefslogtreecommitdiff
path: root/user/bash-completion/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/bash-completion/APKBUILD')
-rw-r--r--user/bash-completion/APKBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/user/bash-completion/APKBUILD b/user/bash-completion/APKBUILD
index ef73c5b7c..535db976b 100644
--- a/user/bash-completion/APKBUILD
+++ b/user/bash-completion/APKBUILD
@@ -3,16 +3,19 @@
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=bash-completion
-pkgver=2.8
+pkgver=2.9
pkgrel=0
-pkgdesc="Command-line tab-completion for bash"
+pkgdesc="Command-line tab-completion for the Bash shell"
url="https://github.com/scop/bash-completion"
arch="noarch"
-license="GPL-2.0-or-later"
+license="GPL-2.0+"
depends="bash"
makedepends=""
+checkdepends="py3-pexpect py3-pytest"
subpackages="$pkgname-doc"
-source="https://github.com/scop/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz"
+source="https://github.com/scop/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz
+ fix-tests.patch
+ "
# Provided with util-linux and networkmanager:
_conflicting="
@@ -37,7 +40,6 @@ _conflicting="
"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -49,12 +51,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
@@ -67,4 +67,5 @@ package() {
done
}
-sha512sums="d839ef5a98811a2aade7ebdc0bc84c84a41c74db384f89913b06f3c25add1ba22528ac25392b19d27280685d258c74dcdc11247cbaae5b8d82f2c0b546abc268 bash-completion-2.8.tar.xz"
+sha512sums="e864091196d670699bdb2af3fc40464788e79c932fa564afa7ba34a637aa1583db7dbceab0e7ba6718fac99e9fd2dfb03d1ee51d7cf279d925ad63f60401d7d5 bash-completion-2.9.tar.xz
+a029f83c62edea94c86008db18dfe689880e3cea144e18bfce6a0675ddc4bc6ce2f29c2189c25e29932bbaf3139ad17c166c8f304ae3b3389d6b7894bbf15ab0 fix-tests.patch"