1 # Contributor: Andreas Schrafl <aschrafl@jetnet.ch>
2 # based on the work of Jaroslav Lichtblau <tu@dragonlord.cz>
3 # based on the work of KyAnh, http://kyanh.net/ <xkyanh@gmail.com>
5 pkgname=boxbackup-client
8 pkgdesc="An open source, completely automatic on-line backup system for UNIX."
10 url="http://boxbackup.org"
12 depends=('openssl' 'perl' 'zlib')
13 backup=('etc/boxbackup/bbstored.conf')
14 source=(http://boxbackup.org/svn/box/packages/boxbackup-$pkgver.tgz bbclient)
16 md5sums=('c4c4786a918a9c026f80833614c40a6b'
17 '7b8f75b84d277f21923d4e1a6a050105')
20 export MAKEFLAGS="-j1"
21 cd ${srcdir}/boxbackup-${pkgver}
25 mkdir -p ${srcdir}/boxbackup-${pkgver}/parcels/boxbackup-${pkgver}-backup-client-linux-gnu
27 make release/bin/bbackupd/bbackupd
28 make release/bin/bbackupd/bbackupd
29 cp ${srcdir}/boxbackup-${pkgver}/release/bin/bbackupd/bbackupd ${srcdir}/boxbackup-${pkgver}/parcels/boxbackup-${pkgver}-backup-client-linux-gnu/bbackupd
31 make release/bin/bbackupquery/bbackupquery
32 cp ${srcdir}/boxbackup-${pkgver}/release/bin/bbackupquery/bbackupquery ${srcdir}/boxbackup-${pkgver}/parcels/boxbackup-${pkgver}-backup-client-linux-gnu/bbackupquery
34 make release/bin/bbackupctl/bbackupctl
35 cp ${srcdir}/boxbackup-${pkgver}/release/bin/bbackupctl/bbackupctl ${srcdir}/boxbackup-${pkgver}/parcels/boxbackup-${pkgver}-backup-client-linux-gnu/bbackupctl
37 cp ${srcdir}/boxbackup-${pkgver}/bin/bbackupd/bbackupd-config ${srcdir}/boxbackup-${pkgver}/parcels/boxbackup-${pkgver}-backup-client-linux-gnu/bbackupd-config
46 ${srcdir}/boxbackup-$pkgver/parcels/boxbackup-$pkgver-backup-client-linux-gnu/$f \
50 install -D -m755 "${srcdir}/bbclient" "${pkgdir}/etc/rc.d/bbclient"