aboutsummaryrefslogtreecommitdiffstats
path: root/main/duply/APKBUILD
blob: cf9c4242f0203324ba5f2ccdaeb992f10cddc37d (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.0.3
pkgrel=0
pkgdesc="Wrapper for duplicity"
url="http://duply.net"
arch="noarch"
license="GPLv2"
depends="duplicity bash"
depends_dev=""
makedepends="$depends_dev txt2man"
install=""
subpackages="$pkgname-doc"
source="http://ufpr.dl.sourceforge.net/project/ftplicity/duply%20%28simple%20duplicity%29/2.0.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="c24dd57f75ab80795d67baf8a7ab79a5ae9608c7faea0ae8b711045371ef0cba49c855cfa0610f030c1c37734775b50052fd1e4162420cb3db624f984e4e8bc1  duply_2.0.3.tgz"