summaryrefslogtreecommitdiffstats
path: root/testing/obnam/APKBUILD
blob: 9e20ab7948341f687fc1714ea713207604cb8543 (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
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=obnam
pkgver=1.8
pkgrel=1
pkgdesc="A backup program that supports encryption and deduplication"
url="http://obnam.org/"
arch="all"
license="GPL3+"
depends="python py-larch py-paramiko py-fuse"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages="$pkgname-doc"
source="http://code.liw.fi/debian/pool/main/o/$pkgname/${pkgname}_$pkgver.orig.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

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

md5sums="7838a2678f2a0d10d88247450245787f  obnam_1.8.orig.tar.gz"
sha256sums="f70469c29e3d16c7080dffb433c8027ea5f2fb8f0112cd7b32b83958ccf72005  obnam_1.8.orig.tar.gz"
sha512sums="02752227eda5d73e5ad292ea2347e5c7cf1a86b7a6c08cc9f3471a3d50f2c2b181fdb326aa0bf55d920a6c5a653aa9e4a7601b895774de33dd950dec767ee9fb  obnam_1.8.orig.tar.gz"