aboutsummaryrefslogtreecommitdiffstats
path: root/community/obnam/APKBUILD
blob: 5a70f85cbbaff27c02edbf66ec51cf749512e55e (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=obnam
pkgver=1.21
pkgrel=0
pkgdesc="A backup program that supports encryption and deduplication"
url="http://obnam.org/"
arch="all"
license="GPL3+"
depends="python2 py-larch py-paramiko py-fuse py-enum34 py-six py-asn1-modules py-packaging"
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages="$pkgname-doc"
source="http://code.liw.fi/debian/pool/main/o/$pkgname/${pkgname}_$pkgver.orig.tar.xz"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	python2 setup.py build || return 1
}

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

md5sums="3a44bc426633f928429f317561654725  obnam_1.21.orig.tar.xz"
sha256sums="7e859dc5ac464240bfc387d3b534a85804fdd3abe136c07e388a4150b0be9162  obnam_1.21.orig.tar.xz"
sha512sums="3e39523f7f132e3cbd42bd09f34895525786227ee319831370d0208f84cd946d84d3ffc21f2c053e790293217aec75de620d68dca0b5eb2d09e5314c3dc9603a  obnam_1.21.orig.tar.xz"