summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Braun2015-06-11 08:04:23 +0200
committerFelix Braun2015-06-11 08:04:23 +0200
commita75c384c82f0120fdac23b0a262daa20ca817ef0 (patch)
treeccbb417d36d1b87ee1b3889fea15f0108e488112
downloadaur-a75c384c82f0120fdac23b0a262daa20ca817ef0.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..791027ad8c3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = zbackup
+ pkgdesc = A versatile deduplicating backup tool
+ pkgver = 1.4.1
+ pkgrel = 1
+ url = http://zbackup.org
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = cmake
+ depends = xz
+ depends = openssl
+ depends = protobuf
+ source = https://github.com/zbackup/zbackup/archive/1.4.1.tar.gz
+ md5sums = 143c69e1b8a7c016224d836beae3b7e1
+
+pkgname = zbackup
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bbe5a8188d2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Felix Braun <hazzl@falix.de>
+pkgname=zbackup
+pkgver=1.4.1
+pkgrel=1
+pkgdesc='A versatile deduplicating backup tool'
+arch=('i686' 'x86_64')
+url='http://zbackup.org'
+license=('GPL2')
+depends=('xz' 'openssl' 'protobuf')
+makedepends=('cmake')
+source=(https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz)
+md5sums=('143c69e1b8a7c016224d836beae3b7e1')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr
+ make
+ cd tartool
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ cd tartool
+ make DESTDIR="${pkgdir}" install
+}