aboutsummaryrefslogtreecommitdiffstats
path: root/main/tarsnap
diff options
context:
space:
mode:
Diffstat (limited to 'main/tarsnap')
-rw-r--r--main/tarsnap/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/tarsnap/APKBUILD b/main/tarsnap/APKBUILD
new file mode 100644
index 0000000000..1534bc2d4c
--- /dev/null
+++ b/main/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"