aboutsummaryrefslogtreecommitdiffstats
path: root/community/borgbackup/APKBUILD
diff options
context:
space:
mode:
authorOlivier Mauras <olivier@mauras.ch>2016-08-18 22:49:57 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-22 22:47:06 +0200
commitffea920168e4bbf800150e4cd9d5a6205d978625 (patch)
tree3af67ef573287d6b1b72562e29b8068dff442303 /community/borgbackup/APKBUILD
parente0e276e6cfc607b5315e04b78eed6888290910d6 (diff)
downloadaports-ffea920168e4bbf800150e4cd9d5a6205d978625.tar.bz2
aports-ffea920168e4bbf800150e4cd9d5a6205d978625.tar.xz
testing/[various]: move to community
Diffstat (limited to 'community/borgbackup/APKBUILD')
-rw-r--r--community/borgbackup/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/borgbackup/APKBUILD b/community/borgbackup/APKBUILD
new file mode 100644
index 0000000000..6b153a4413
--- /dev/null
+++ b/community/borgbackup/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Olivier Mauras <olivier@mauras.ch>
+# Maintainer: Olivier Mauras <olivier@mauras.ch>
+pkgname=borgbackup
+pkgver=1.0.6
+pkgrel=0
+pkgdesc="Deduplicating backup program"
+url="https://borgbackup.readthedocs.io/"
+arch="all"
+license="bsd"
+depends="python3 py3-msgpack"
+depends_dev=""
+makedepends="$depends_dev python3 python3-dev
+ lz4-dev acl-dev attr-dev openssl-dev"
+install=""
+subpackages=""
+source="https://github.com/$pkgname/borg/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
+
+_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"
+ python3 setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="4434e111e90e6bac7181e44cc580f83c borgbackup-1.0.6.tar.gz"
+sha256sums="b72444d260b66538b6b5394f4f1919ab095214d130b5ffbb18ed83dac94db6b7 borgbackup-1.0.6.tar.gz"
+sha512sums="176f016671208d43c3e675b9beaea1fadff33df7ad637c2df20c237f64d760439a4da7fe15b92e02a4e4560db17363050f6464cc7bac413d4f7a994dbea4fd60 borgbackup-1.0.6.tar.gz"