aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2020-01-25 22:18:02 +0100
committerMilan P. Stanić <mps@arvanta.net>2020-01-26 10:39:14 +0100
commit74be1397f9cb202c1d5e37ff6beca94670c35c7a (patch)
tree5e63e520fbd5d7f78e4ca5c8736dd8d78d762d4d /community
parent27daa95f5ae75f318f8ec3af6c07e04bd8195315 (diff)
downloadaports-74be1397f9cb202c1d5e37ff6beca94670c35c7a.tar.bz2
aports-74be1397f9cb202c1d5e37ff6beca94670c35c7a.tar.xz
community/borgbackup: add doc subpackage
and change URL
Diffstat (limited to 'community')
-rw-r--r--community/borgbackup/APKBUILD10
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