APKBUILD 1.01 KB
Newer Older
1
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
Carlo Landmeter's avatar
Carlo Landmeter committed
2
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
3
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
Carlo Landmeter's avatar
Carlo Landmeter committed
4
pkgname=duply
Francesco Colista's avatar
Francesco Colista committed
5
pkgver=2.1
Carlo Landmeter's avatar
Carlo Landmeter committed
6 7 8 9
pkgrel=0
pkgdesc="Wrapper for duplicity"
url="http://duply.net"
arch="noarch"
10
license="GPL-2.0"
Carlo Landmeter's avatar
Carlo Landmeter committed
11
depends="duplicity bash"
Francesco Colista's avatar
Francesco Colista committed
12 13
# no test provided upstream
options="!nocheck"
Carlo Landmeter's avatar
Carlo Landmeter committed
14 15
makedepends="$depends_dev txt2man"
subpackages="$pkgname-doc"
Francesco Colista's avatar
Francesco Colista committed
16
source="http://ufpr.dl.sourceforge.net/project/ftplicity/duply%20%28simple%20duplicity%29/${pkgver}.x/duply_$pkgver.tgz"
17
builddir="$srcdir"/duply_${pkgver}
Carlo Landmeter's avatar
Carlo Landmeter committed
18 19

build() {
20
	cd "$builddir"
Carlo Landmeter's avatar
Carlo Landmeter committed
21 22 23
}

package() {
24
	cd "$builddir"
Carlo Landmeter's avatar
Carlo Landmeter committed
25 26 27 28 29 30 31 32 33
	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
}

Francesco Colista's avatar
Francesco Colista committed
34
sha512sums="d2b484e734c366c49e41fe667c03bebdb391f6e4e7facd099de0631ad3f82a062f6800f43f240eff29b6635f3158fd6a8a4c1a9bb04380030a01972483125b87  duply_2.1.tgz"