Commit 09b63f0d authored by Leo's avatar Leo

testing/buku: remove shell completion definitions

parent 646b545e
......@@ -11,40 +11,22 @@ license="GPL-3.0-or-later"
depends="python3 py3-urllib3 py3-cryptography py3-html5lib py3-beautifulsoup4
py3-certifi"
makedepends="py3-setuptools"
subpackages="$pkgname-doc $pkgname-bash-completion:_bashcomp:noarch
$pkgname-zsh-completion:_zshcomp:noarch
$pkgname-fish-completion:_fishcomp:noarch"
subpackages="$pkgname-doc
$pkgname-bash-completion
$pkgname-zsh-completion
$pkgname-fish-completion
"
source="$pkgname-$pkgver.tar.gz::https://github.com/jarun/Buku/archive/v$pkgver.tar.gz"
package() {
install -Dm0755 buku "$pkgdir"/usr/bin/buku
install -Dm0644 buku.1 "$pkgdir"/usr/share/man/man1/buku.1
}
_bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
install -Dm644 "$builddir"/auto-completion/bash/buku-completion.bash \
"$subpkgdir"/usr/share/bash-completion/completions/buku
}
_zshcomp() {
depends=""
pkgdesc="Zsh compltions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
"$pkgdir"/usr/share/bash-completion/completions/buku
install -Dm644 "$builddir"/auto-completion/zsh/_buku \
"$subpkgdir"/usr/share/zsh/site-functions/_buku
}
_fishcomp() {
depends=""
pkgdesc="Fish completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel fish"
"$pkgdir"/usr/share/zsh/site-functions/_buku
install -Dm644 "$builddir"/auto-completion/fish/buku.fish \
"$subpkgdir"/usr/share/fish/completions/buku.fish
"$pkgdir"/usr/share/fish/completions/buku.fish
}
sha512sums="0f6118fd1914347fe14b333b65bfd7edf9fafd0ca1cc29a13c44c28abb9d8a144e98b1c34bbee90817afdda09a1322c83d8b6ef366917a9e4f6d6d7ec90ecd26 buku-4.3.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment