aboutsummaryrefslogtreecommitdiffstats
path: root/main/duply/APKBUILD
blob: 8e346e315bef15ae576ec14439c6c8ceec7b573c (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
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=duply
pkgver=2.1
pkgrel=0
pkgdesc="Wrapper for duplicity"
url="http://duply.net"
arch="noarch"
license="GPL-2.0"
depends="duplicity bash"
# no test provided upstream
options="!nocheck"
makedepends="$depends_dev txt2man"
subpackages="$pkgname-doc"
source="http://ufpr.dl.sourceforge.net/project/ftplicity/duply%20%28simple%20duplicity%29/${pkgver}.x/duply_$pkgver.tgz"
builddir="$srcdir"/duply_${pkgver}

build() {
	cd "$builddir"
}

package() {
	cd "$builddir"
	install -Dm755 duply \
		"$pkgdir"/usr/bin/duply
	mkdir -p "$pkgdir"/usr/share/man/man1
	"$pkgdir"/usr/bin/duply txt2man > \
		"$pkgdir"/usr/share/man/man1/duply.1
	install -Dm644 gpl-2.0.txt \
		"$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="d2b484e734c366c49e41fe667c03bebdb391f6e4e7facd099de0631ad3f82a062f6800f43f240eff29b6635f3158fd6a8a4c1a9bb04380030a01972483125b87  duply_2.1.tgz"