blob: 476c1ae7765b09794b57ed8c187fe56d8aa4409f (
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
39
40
41
42
43
44
45
46
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=duply
pkgver=1.7.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://downloads.sourceforge.net/ftplicity/${pkgname}_${pkgver}.tgz"
_builddir="$srcdir"/duply_${pkgver}
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
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="139e36c3ee35d8bca15b6aa9c7f8939b duply_1.7.3.tgz"
sha256sums="e0ae298b06125bb6665a3f4822828d36e9f56c93755b45e2240fd1643e7f05d3 duply_1.7.3.tgz"
sha512sums="e71d4bd03828a47cb7b5af164d9f49c911a837c1a016efe8832a56f9ec9913a5237bee0c89cd4a1aece6db454873e8c39e70224ab4c725e7a5ce5eae73e556ff duply_1.7.3.tgz"
|