aboutsummaryrefslogtreecommitdiffstats
path: root/main/duply/APKBUILD
blob: eaf1fde7c49afc2587587fb529e9f9e480fce5bb (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
35
36
37
38
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=duply
pkgver=1.11.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"
# sourceforge is/was down.
#source="http://downloads.sourceforge.net/ftplicity/${pkgname}_${pkgver}.tgz"
source="http://ufpr.dl.sourceforge.net/project/ftplicity/duply%20%28simple%20duplicity%29/1.11.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
}

md5sums="a241e6c0e7133d8b53e958361ea3cdb8  duply_1.11.3.tgz"
sha256sums="585757a02abc91bcc0e37004eef735794d6581d1a30ec68303c6c04833b20940  duply_1.11.3.tgz"
sha512sums="5817d4571c27288b227add04e84fa0066e278cdbc819a9332cb6fa2aaf6609e923abe9824ac704fed250b961300c57ca1de945af03370287f7cbf68876513457  duply_1.11.3.tgz"