aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/backup-manager/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/backup-manager/APKBUILD b/testing/backup-manager/APKBUILD
new file mode 100644
index 0000000000..129d26df28
--- /dev/null
+++ b/testing/backup-manager/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
+# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
+pkgname="backup-manager"
+pkgver="0.7.15"
+pkgrel=0
+pkgdesc="Backup Manager is a command line backup tool for GNU/Linux"
+url="https://github.com/sukria/Backup-Manager"
+arch="noarch"
+license="GPL-2.0-only"
+depends="gettext perl bash"
+makedepends="perl-file-slurp"
+options="!check" # tests not works due to dar archiver missing
+source="$pkgname-$pkgver.tar.gz::https://github.com/sukria/Backup-Manager/archive/$pkgver.tar.gz"
+builddir="$srcdir/Backup-Manager-$pkgver"
+
+prepare() {
+ sed -e "/^PERL5DIR/s/sitelib/vendorlib/" \
+ -e "/sed/s:=\$(DESTDIR)/:=:" \
+ -i Makefile
+}
+
+package() {
+ make PREFIX=/usr DESTDIR="$pkgdir" install_binary
+ install -Dm644 "$builddir/backup-manager.conf.tpl" "$pkgdir/etc/backup-manager.conf.tpl"
+}
+
+sha512sums="13e50e5e12de0b9397d26e8a20f260fe7974838cc8e4d61d7b7bbf3f888418b6f1cf254a4bfd4a87679d6c8d0f9f14533275acd975cf9dd6a9b29155d01dcd97 backup-manager-0.7.15.tar.gz"