aboutsummaryrefslogtreecommitdiffstats
path: root/main/duply
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-02-27 13:43:10 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-02-27 13:45:00 +0000
commit8d93871159e0a5cab926db47abd075e984379eea (patch)
treea0bb992096c3146eb13d5b5d3d62475670b3b7bb /main/duply
parentf0d1be6b177b0798852a44c5689c2658acfc9c7c (diff)
downloadaports-8d93871159e0a5cab926db47abd075e984379eea.tar.bz2
aports-8d93871159e0a5cab926db47abd075e984379eea.tar.xz
main/duply: new aport
Diffstat (limited to 'main/duply')
-rw-r--r--main/duply/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/main/duply/APKBUILD b/main/duply/APKBUILD
new file mode 100644
index 0000000000..b245e34cc1
--- /dev/null
+++ b/main/duply/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=duply
+pkgver=1.6.0
+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="1a17b830a97184c09d4d3c7697e04592 duply_1.6.0.tgz"
+sha256sums="0ebd72f93aa44aa67da2c825926a50f7d4abb16798893305a6c331673ef13ec4 duply_1.6.0.tgz"
+sha512sums="1071edddcbbe968f6242375cc0c34a5d9da2af7ef7655daa25124b877f1ac80493ffbda750a45a4e92dc555b168f8862ab4d2332777039fc5a5a8118f667cab7 duply_1.6.0.tgz"