aboutsummaryrefslogtreecommitdiffstats
path: root/community/borgbackup
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-11-14 00:25:15 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-11-14 00:43:48 +0100
commite907bf1c8402bf8f46db7b152811ff5ae0e2e88b (patch)
treefd75b7f45b81b32a7050e8dcd5bc82da244be097 /community/borgbackup
parent5313cdd34d58f3730e9a55f36124b1e524b3c818 (diff)
downloadaports-e907bf1c8402bf8f46db7b152811ff5ae0e2e88b.tar.bz2
aports-e907bf1c8402bf8f46db7b152811ff5ae0e2e88b.tar.xz
community/borgbackup: fix and modernize abuild
Diffstat (limited to 'community/borgbackup')
-rw-r--r--community/borgbackup/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/community/borgbackup/APKBUILD b/community/borgbackup/APKBUILD
index 04a4605557..9c41854a30 100644
--- a/community/borgbackup/APKBUILD
+++ b/community/borgbackup/APKBUILD
@@ -8,21 +8,18 @@ url="https://borgbackup.readthedocs.io/"
arch="all"
license="BSD"
depends="python3 py3-msgpack"
-depends_dev=""
makedepends="python3-dev lz4-dev acl-dev attr-dev libressl-dev"
-install=""
-subpackages=""
source="https://github.com/$pkgname/borg/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
-builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
- python3 setup.py build || return 1
+ cd "$builddir"
+ python3 setup.py build
}
package() {
- cd "$builddir"
- python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="438d39557a4ebc936f606a880b7f1c915fd5497b11663f03b8a767af7cca522a1b235be0f81c4310d8f12e19d147b438481b7ac82e7371588237de8f1e229525 borgbackup-1.0.11.tar.gz"