aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/tartarus/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/tartarus/APKBUILD')
-rw-r--r--unmaintained/tartarus/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/tartarus/APKBUILD b/unmaintained/tartarus/APKBUILD
new file mode 100644
index 0000000000..432929b64f
--- /dev/null
+++ b/unmaintained/tartarus/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Leslie P. Polzer <polzer@port-zero.com>
+# Maintainer: Leslie P. Polzer <polzer@port-zero.com>
+pkgname=tartarus
+pkgver=0.9.8
+pkgrel=1
+pkgdesc="A flexible script based backup system"
+url="http://wertarbyte.de/tartarus.shtml"
+arch="noarch"
+license="GPL3+"
+depends="perl"
+makedepends="perl"
+subpackages="$pkgname-doc"
+install="$pkgname.post-install"
+source="http://wertarbyte.de/tartarus/tartarus-$pkgver.tar.bz2"
+
+_builddir="$srcdir/tartarus-$pkgver"
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+
+ mkdir -p "$pkgdir"/usr/bin
+ install -m755 bin/* "$pkgdir"/usr/bin
+
+ mkdir -p "$pkgdir"/usr/lib/perl5/vendor_perl
+ cp -rv lib/Tartarus "$pkgdir"/usr/lib/perl5/vendor_perl/
+
+ mkdir -p "$pkgdir"/usr/share/man/man1
+ install -m644 man/*.1 "$pkgdir"/usr/share/man/man1
+
+ chown -R 0:0 "$pkgdir"
+}
+
+md5sums="4aa1cc8b550ded1c77fc50aeef146310 tartarus-0.9.8.tar.bz2"
+sha256sums="cfd3158974e4c331bebf5b9fbf51eb3f884a71d60eaf2c82e8856a150691bcef tartarus-0.9.8.tar.bz2"
+sha512sums="b879e214924643664e45165b227ceda9723be919854bd867fe11a2c474c1ae3cc9c2206992cb3a75ad02683c8feb44c21f884eb6f354caa398ca0ea9ce9f82d4 tartarus-0.9.8.tar.bz2"