aboutsummaryrefslogtreecommitdiffstats
path: root/community/hstr/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/hstr/APKBUILD')
-rw-r--r--community/hstr/APKBUILD21
1 files changed, 6 insertions, 15 deletions
diff --git a/community/hstr/APKBUILD b/community/hstr/APKBUILD
index cbd241cba74..368b845fc98 100644
--- a/community/hstr/APKBUILD
+++ b/community/hstr/APKBUILD
@@ -1,17 +1,17 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=hstr
-pkgver=2.3
+pkgver=3.1
pkgrel=0
pkgdesc="Bash and ZSH shell history suggest box"
url="https://github.com/dvorka/hstr"
arch="all"
license="Apache-2.0"
-makedepends="autoconf automake libtool ncurses-dev readline-dev"
+makedepends="autoconf automake bash libtool ncurses-dev readline-dev"
options="!check" # no *automated* tests to run
subpackages="
$pkgname-doc
- $pkgname-bash-completion:bashcomp:noarch
+ $pkgname-bash-completion
"
source="$pkgname-$pkgver.tar.gz::https://github.com/dvorka/hstr/archive/$pkgver/hstr-$pkgver.tar.gz"
@@ -39,15 +39,6 @@ package() {
make install DESTDIR="$pkgdir"
}
-bashcomp() {
- depends=""
- pkgdesc="Bash completions for $pkgname"
- install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
-
- mkdir -p "$subpkgdir"/usr/share/bash-completion/completions
- mv "$pkgdir"/usr/share/bash-completion/completions/hstr \
- "$subpkgdir"/usr/share/bash-completion/completions
- rmdir -p "$pkgdir"/usr/share/bash-completion/completions || :
-}
-
-sha512sums="705bad464284f38266a4a781410dd1e2e4c8f5ebb116f67c4b7bd109cbb7dc0cc7d278b38030057128a5bad4adc1cad121df880652458ab763359e308cfec8ca hstr-2.3.tar.gz"
+sha512sums="
+7fea841a124db4228047b7b6dc00f02d0718268f4526f518fd922039b45006c94f766bbb06f2d594a5b4991184f2ba72f50c2cda89587f128e3001aafadfdf50 hstr-3.1.tar.gz
+"