aboutsummaryrefslogtreecommitdiffstats
path: root/testing/barman/APKBUILD
blob: e4a98ad77db56cf43c56c25c2a5634788a80e76e (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: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=barman
pkgver=2.7
pkgrel=1
pkgdesc="Backup and recovery manager for PostgreSQL"
url="http://www.pgbarman.org"
arch="noarch"
license="GPL"
depends="python3 rsync py3-argcomplete py3-dateutil py3-psycopg2 py3-argh"
subpackages="$pkgname-doc"
source="https://sourceforge.net/projects/pgbarman/files/${pkgver}/barman-${pkgver}.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

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

sha512sums="5a7987b728e6694212d50e4326c47bd6d4fa8bb68fdeba7d3130cf2c21903b8ee826388e2d59cf0688e4e1048a7185664ef4f7bad257f909f00b045896acf12c  barman-2.7.tar.gz"