aboutsummaryrefslogtreecommitdiffstats
path: root/community/duply/APKBUILD
blob: b3a5dc6b42830e41476543f5826f0bdd42c0b3ec (plain) (blame)
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
# Contributor: Ɓukasz Jendrysik <scadu@yandex.com>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=duply
pkgver=2.3
pkgrel=0
pkgdesc="Wrapper for duplicity"
url="https://duply.net"
arch="noarch"
license="GPL-2.0-or-later"
depends="duplicity bash"
# no test provided upstream
options="!check"
makedepends="txt2man"
subpackages="$pkgname-doc"
source="https://sourceforge.net/projects/ftplicity/files/duply%20%28simple%20duplicity%29/2.3.x/duply_${pkgver}.tgz"
builddir="$srcdir"/duply_$pkgver

package() {
	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="a2acfcbd0351cc501536845f131f835d473c00600e823f011b6d69e4e8d17394dd51e977ef282ab64fb518cddb3ec988c67ed7a5f1f1157f16c3b355878d9db1  duply_2.3.tgz"