diff options
author | Michał Polański <michal@polanski.me> | 2020-01-25 22:18:02 +0100 |
---|---|---|
committer | Milan P. Stanić <mps@arvanta.net> | 2020-01-26 10:39:14 +0100 |
commit | 74be1397f9cb202c1d5e37ff6beca94670c35c7a (patch) | |
tree | 5e63e520fbd5d7f78e4ca5c8736dd8d78d762d4d /community | |
parent | 27daa95f5ae75f318f8ec3af6c07e04bd8195315 (diff) | |
download | aports-74be1397f9cb202c1d5e37ff6beca94670c35c7a.tar.bz2 aports-74be1397f9cb202c1d5e37ff6beca94670c35c7a.tar.xz |
community/borgbackup: add doc subpackage
and change URL
Diffstat (limited to 'community')
-rw-r--r-- | community/borgbackup/APKBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/community/borgbackup/APKBUILD b/community/borgbackup/APKBUILD index 530dd513b3..2d7bd88afd 100644 --- a/community/borgbackup/APKBUILD +++ b/community/borgbackup/APKBUILD @@ -4,15 +4,16 @@ pkgname=borgbackup _pkgname=borg pkgver=1.1.10 -pkgrel=3 +pkgrel=4 pkgdesc="Deduplicating backup program" -url="https://borgbackup.readthedocs.io/" +url="https://www.borgbackup.org/" arch="all !s390x" # limited by py3-pyzmq license="BSD-3-Clause" depends="python3 py3-pyzmq" makedepends="python3-dev lz4-dev acl-dev attr-dev openssl-dev linux-headers py3-setuptools" -subpackages="$pkgname-bash-completion:bashcomp:noarch +subpackages="$pkgname-doc + $pkgname-bash-completion:bashcomp:noarch $pkgname-fish-completion:fishcomp:noarch $pkgname-zsh-completion:zshcomp:noarch" source="https://github.com/borgbackup/borg/releases/download/$pkgver/borgbackup-$pkgver.tar.gz" @@ -24,6 +25,9 @@ build() { package() { python3 setup.py install --prefix=/usr --root="$pkgdir" + install -Dm644 -t "$pkgdir"/usr/share/man/man1 \ + "$builddir"/docs/man/*.1 + # Clean some useless files. cd "$pkgdir"/usr/lib/python*/site-packages/borg find . -name '*.h' -delete -o -name '*.c' -delete -o -name '*.pyx' -delete |