aboutsummaryrefslogtreecommitdiffstats
path: root/community/borgbackup/APKBUILD
blob: 4b480d691c61e987c72b33be206db3e02ab7c75e (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.10
pkgrel=0
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="210cebe28da0cdce23a49a4f2102d9be  borgbackup-1.0.10.tar.gz"
sha256sums="978f28f144924005219da989b1b436a32b2735a34c6d0dc15bb0a1ccffad59e9  borgbackup-1.0.10.tar.gz"
sha512sums="db0d315b8381f853c192e0b6672bac8275ef2046dc307f88bbd9641f941feedb91bdfdb074b2b33141a6b94db204588fb87b6ea1b746648d20f30f1268055d7a  borgbackup-1.0.10.tar.gz"