aboutsummaryrefslogtreecommitdiffstats
path: root/main/duply/APKBUILD
blob: 547ef2fffab60178a1c750fd123a56d51a5d81c1 (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.2
pkgrel=0
pkgdesc="Wrapper for duplicity"
url="https://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="https://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="4c75e140162b45bb7e32e8979eeb5457f1157addb28e5e68d85872f1c8e21de1f39a800fe7829b04928c6620794cf94f2b3a5d01b0a2bc5c0d9713fced911ec0  duply_2.2.tgz"