aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-04-23 09:09:50 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-04-23 09:10:36 +0000
commitf448d3a548e0771540e04903296b2ae13b17fb3a (patch)
tree69394408545ff75b0a398c1c3f22ce0709e2c2d8 /testing
parent1320259388203b47e451da0210b1536fc5ab61aa (diff)
downloadaports-f448d3a548e0771540e04903296b2ae13b17fb3a.tar.bz2
aports-f448d3a548e0771540e04903296b2ae13b17fb3a.tar.xz
testing/tarsnap: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/tarsnap/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/tarsnap/APKBUILD b/testing/tarsnap/APKBUILD
new file mode 100644
index 0000000000..1534bc2d4c
--- /dev/null
+++ b/testing/tarsnap/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Eivind Uggedal <eivind@uggedal.com>
+pkgname=tarsnap
+pkgver=1.0.35
+pkgrel=0
+pkgdesc="Online backups for the truly paranoid"
+url="https://www.tarsnap.com/"
+arch="x86_64 x86"
+license="custom"
+depends=""
+depends_dev=""
+makedepends="e2fsprogs-dev zlib-dev openssl-dev"
+options=""
+install=""
+subpackages="$pkgname-doc"
+source="https://www.tarsnap.com/download/$pkgname-autoconf-$pkgver.tgz"
+
+_builddir="$srcdir"/$pkgname-autoconf-$pkgver
+
+build() {
+ cd "$_builddir"
+
+ ./configure --prefix=/usr --sysconfdir="/etc/$pkgname" || return 1
+ make
+}
+
+package() {
+ cd "$_builddir"
+
+ make DESTDIR="$pkgdir" install || return 1
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+md5sums="74daeff5479ec6f101a903f4047b526f tarsnap-autoconf-1.0.35.tgz"
+sha256sums="6c9f6756bc43bc225b842f7e3a0ec7204e0cf606e10559d27704e1cc33098c9a tarsnap-autoconf-1.0.35.tgz"
+sha512sums="70f932b172717d7f0d6f96a357487b8f8ad13cb7332d73878f629c3abf0862da54a0621092d81ce8cd9eb8380cf5b4c32e89df4d890949429fc84737024dcb61 tarsnap-autoconf-1.0.35.tgz"