summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorbrent s2015-08-24 21:20:08 -0400
committerbrent s2015-08-24 21:20:08 -0400
commit0104010c8b8244dc8e66e2cebbdfaa8f6fa585fa (patch)
tree1dfc16605e1c03ae9f1d2f92043d40c1316f9b85 /PKGBUILD
downloadaur-0104010c8b8244dc8e66e2cebbdfaa8f6fa585fa.tar.gz
initial import from AUR3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b6d41c2188f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,51 @@
+# Contributor: Andreas Schrafl <aschrafl@jetnet.ch>
+# based on the work of Jaroslav Lichtblau <tu@dragonlord.cz>
+# based on the work of KyAnh, http://kyanh.net/ <xkyanh@gmail.com>
+
+pkgname=boxbackup-client
+pkgver=0.11.1
+pkgrel=0
+pkgdesc="An open source, completely automatic on-line backup system for UNIX."
+arch=('i686' 'x86_64')
+url="http://boxbackup.org"
+license=('BSD')
+depends=('openssl' 'perl' 'zlib')
+backup=('etc/boxbackup/bbstored.conf')
+source=(http://boxbackup.org/svn/box/packages/boxbackup-$pkgver.tgz bbclient)
+
+md5sums=('c4c4786a918a9c026f80833614c40a6b'
+ '7b8f75b84d277f21923d4e1a6a050105')
+
+build() {
+ export MAKEFLAGS="-j1"
+ cd ${srcdir}/boxbackup-${pkgver}
+
+ ./configure
+
+ mkdir -p ${srcdir}/boxbackup-${pkgver}/parcels/boxbackup-${pkgver}-backup-client-linux-gnu
+
+ make release/bin/bbackupd/bbackupd
+ make release/bin/bbackupd/bbackupd
+ cp ${srcdir}/boxbackup-${pkgver}/release/bin/bbackupd/bbackupd ${srcdir}/boxbackup-${pkgver}/parcels/boxbackup-${pkgver}-backup-client-linux-gnu/bbackupd
+
+ make release/bin/bbackupquery/bbackupquery
+ cp ${srcdir}/boxbackup-${pkgver}/release/bin/bbackupquery/bbackupquery ${srcdir}/boxbackup-${pkgver}/parcels/boxbackup-${pkgver}-backup-client-linux-gnu/bbackupquery
+
+ make release/bin/bbackupctl/bbackupctl
+ cp ${srcdir}/boxbackup-${pkgver}/release/bin/bbackupctl/bbackupctl ${srcdir}/boxbackup-${pkgver}/parcels/boxbackup-${pkgver}-backup-client-linux-gnu/bbackupctl
+
+ cp ${srcdir}/boxbackup-${pkgver}/bin/bbackupd/bbackupd-config ${srcdir}/boxbackup-${pkgver}/parcels/boxbackup-${pkgver}-backup-client-linux-gnu/bbackupd-config
+
+ for f in \
+ bbackupd \
+ bbackupquery \
+ bbackupctl \
+ bbackupd-config ;\
+ do
+ install -D -m755 \
+ ${srcdir}/boxbackup-$pkgver/parcels/boxbackup-$pkgver-backup-client-linux-gnu/$f \
+ ${pkgdir}/usr/bin/$f
+ done
+
+ install -D -m755 "${srcdir}/bbclient" "${pkgdir}/etc/rc.d/bbclient"
+}