aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2016-01-04 15:18:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-01-08 13:26:15 +0000
commita184f707e410ecef750ba133379c20a90ee6c50b (patch)
tree406a16b0366fbf56a1d9dc20325278f2fde8bfad /testing
parent3abe60b0b2c7c93e0f7daa331846038db9eb055d (diff)
downloadaports-a184f707e410ecef750ba133379c20a90ee6c50b.tar.bz2
aports-a184f707e410ecef750ba133379c20a90ee6c50b.tar.xz
testing/btrbk: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/btrbk/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/btrbk/APKBUILD b/testing/btrbk/APKBUILD
new file mode 100644
index 0000000000..25ac120af1
--- /dev/null
+++ b/testing/btrbk/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+pkgname=btrbk
+pkgver=0.21.0
+pkgrel=0
+pkgdesc="Backup tool for btrfs subvolumes with atomic snapshots & incremental transfers"
+url="http://digint.ch/btrbk/"
+arch="noarch"
+license="GPL3"
+depends="perl perl-date-calc btrfs-progs"
+depends_dev=""
+makedepends="$depends_dev"
+subpackages="$pkgname-doc"
+source="http://digint.ch/download/$pkgname/releases/$pkgname-$pkgver.tar.xz"
+
+_builddir="$srcdir"/$pkgname-$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"
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -rf "$pkgdir"/usr/lib || return 1 # systemd scripts
+}
+
+md5sums="a2bc1bd4da21c105111a5b2cff2a2a19 btrbk-0.21.0.tar.xz"
+sha256sums="c8fce308180a392a4770ca3ad45c294c2c02a4e6dd4d4f39085f4c34bee3356c btrbk-0.21.0.tar.xz"
+sha512sums="2b3b18dcb625420d4b230e698caf1e42d202784d6d52c0c6c97d1a52589ea25d49e845a853cd1ad3030feafd0065a2f23398c156aac8cdb92a30d05cccb2a535 btrbk-0.21.0.tar.xz"