blob: 8b7c8d4e9bc24a8837fbfd87f951091fc26a6f30 (
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
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Olivier Mauras <olivier@mauras.ch>
pkgname=borgbackup
pkgver=1.0.6
pkgrel=0
pkgdesc="Deduplicating backup program"
url="https://borgbackup.readthedocs.io/"
arch="all"
license="bsd"
depends="python3 py3-msgpack"
depends_dev=""
makedepends="$depends_dev python3 python3-dev
lz4-dev acl-dev attr-dev openssl-dev"
install=""
subpackages=""
source="https://github.com/$pkgname/borg/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python3 setup.py build || return 1
}
package() {
cd "$_builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="4434e111e90e6bac7181e44cc580f83c borgbackup-1.0.6.tar.gz"
sha256sums="b72444d260b66538b6b5394f4f1919ab095214d130b5ffbb18ed83dac94db6b7 borgbackup-1.0.6.tar.gz"
sha512sums="176f016671208d43c3e675b9beaea1fadff33df7ad637c2df20c237f64d760439a4da7fe15b92e02a4e4560db17363050f6464cc7bac413d4f7a994dbea4fd60 borgbackup-1.0.6.tar.gz"
|