aboutsummaryrefslogtreecommitdiffstats
path: root/community/buku/APKBUILD
blob: 61cc0c8cd46060f307bc83b8849ba25edb5f2ee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=buku
pkgver=4.6
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
	$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

	install -Dm644 "$builddir"/auto-completion/bash/buku-completion.bash \
			"$pkgdir"/usr/share/bash-completion/completions/buku
	install -Dm644 "$builddir"/auto-completion/zsh/_buku \
			"$pkgdir"/usr/share/zsh/site-functions/_buku
	install -Dm644 "$builddir"/auto-completion/fish/buku.fish \
			"$pkgdir"/usr/share/fish/completions/buku.fish
}
sha512sums="
1c46006d8c950811493a8c11453d51557cac3f6346ea28d66dcb2ae3e4c52727af7349b4b6ea088f9c08a7e9d09e3a4d80679b41497b6cd0844d811f81c9811a  buku-4.6.tar.gz
"