diff options
Diffstat (limited to 'community/btrbk/APKBUILD')
-rw-r--r-- | community/btrbk/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/btrbk/APKBUILD b/community/btrbk/APKBUILD new file mode 100644 index 0000000000..01d1722346 --- /dev/null +++ b/community/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.23.3 +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="66ba390efd0db3e55db4bd12ee7876fb btrbk-0.23.3.tar.xz" +sha256sums="779636116261e3e0fe64ec986e39be594c04454d87be8005115c8577f62b1725 btrbk-0.23.3.tar.xz" +sha512sums="d9fc29b8e2a6e191be93c7845c7f1f99ab60fb4ec910d8b60947ef902b7fdaf789bc73a4884bdd6060f1b180cafaacd5fa8f93dc29624dfea8a2890618ce4012 btrbk-0.23.3.tar.xz" |