aboutsummaryrefslogtreecommitdiffstats
path: root/testing/barman/APKBUILD
blob: ea38e098c8cb4e3a3810a355dab423ac1f1e1572 (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.8
pkgrel=0
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="12a70b1773bc1bf8b1cbee90ccddf1137e2d005001d6b33d9b50095ca9737ad6fd22f4ec6fcf7fbc64417d4ae7e4df2e7c908c130c3c92174a1d53a2f2cc74e7  barman-2.8.tar.gz"