diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-04-30 00:59:39 -0300 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-02 04:37:13 +0000 |
commit | 7b83b04248140477097afbd487ae970583df3f00 (patch) | |
tree | d6aece88e6280722c827fb721e2ee26a23a87d6a /testing/buku | |
parent | 88186efaf3ee41309bf61d44263179bf9aedfe80 (diff) | |
download | aports-7b83b04248140477097afbd487ae970583df3f00.tar.bz2 aports-7b83b04248140477097afbd487ae970583df3f00.tar.xz |
testing/buku: new aport
Cmdline bookmark management utility
https://github.com/jarun/Buku
Diffstat (limited to 'testing/buku')
-rw-r--r-- | testing/buku/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/testing/buku/APKBUILD b/testing/buku/APKBUILD new file mode 100644 index 0000000000..52dabfe9b4 --- /dev/null +++ b/testing/buku/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Leo <thinkabit.ukim@gmail.com> +# Maintainer: Leo <thinkabit.ukim@gmail.com> +pkgname=buku +pkgver=4.2 +pkgrel=0 +pkgdesc="Cmdline bookmark management utility" +options="!check" # Requires unpackaged vcrpy +url="https://github.com/jarun/Buku" +arch="noarch" +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" +source="$pkgname-$pkgver.tar.gz::https://github.com/jarun/Buku/archive/v${pkgver}.tar.gz" +builddir="$srcdir"/Buku-$pkgver + +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" + + 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" + + install -Dm644 "$builddir"/auto-completion/fish/buku.fish \ + "$subpkgdir"/usr/share/fish/completions/buku.fish +} +sha512sums="91d3c6d8713204d45936b2ce6f0d75f7ddecb402d9c1d1f50b91857de9f39db8e59fe1aab7c090b0415a5fd4135bc52e1a300187159ef8ef4163cda590065eb9 buku-4.2.tar.gz" |