aboutsummaryrefslogtreecommitdiffstats
path: root/community/borgbackup/APKBUILD
blob: fa25d625939f6c929fabb2db073da4d725195e15 (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
# Contributor: Olivier Mauras <olivier@mauras.ch>
# Maintainer: Olivier Mauras <olivier@mauras.ch>
pkgname=borgbackup
pkgver=1.0.9
pkgrel=1
pkgdesc="Deduplicating backup program"
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
build() {
        cd "$builddir"
        python3 setup.py build || return 1
}

package() {
        cd "$builddir"
        python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="82d660768434af0311f48cb489f59b67  borgbackup-1.0.9.tar.gz"
sha256sums="35860840e0429d4bb3acc8b9dd33aa5996a42fb2b678813a982b321a7dba3cb2  borgbackup-1.0.9.tar.gz"
sha512sums="5623916b143a3d39cab41bc5cca82589a612035d9be0bfd0d211656a975b986bc0c04133bdd1ba44b628fffd84f2c4294530a7c37b9c874e878b77d6105ff0ad  borgbackup-1.0.9.tar.gz"