1 # Maintainer: Dogukan Korkmazturk <d.korkmazturk@gmail.com>
2 # Maintainer: Stephane Travostino <stephane.travostino@gmail.com>
3 # Contributor: Calogero Lo Leggio <kalos@autistici.org>
8 pkgdesc="Bacula, the Network Backup Tool for Linux, Unix, Mac and Windows [qt console]"
10 url="http://www.bacula.org"
13 makedepends=('qt' 'qwt')
14 backup=(etc/bacula/bat.conf)
16 source=("http://downloads.sourceforge.net/sourceforge/bacula/bacula-$pkgver.tar.gz")
17 md5sums=('68e008d2578a6d9a50af60439db17dcb')
20 cd "$startdir/src/bacula-$pkgver"
22 ./configure --prefix=/usr --sbindir=/usr/bin \
23 --enable-client-only --enable-bat \
24 --with-x --with-tcp-wrappers --with-openssl \
25 --sysconfdir=/etc/ --with-scriptdir=/etc/bacula/scripts \
26 --with-archivedir=/usr/var/bacula/archive
30 # install only bat files
31 mkdir -p $startdir/pkg/etc/ $startdir/pkg/usr/bin/ $startdir/pkg/usr/man/man1
32 mkdir -p $startdir/pkg/etc/ $startdir/pkg/etc/bacula
33 install -m755 $startdir/src/bacula-$pkgver/src/qt-console/bat $startdir/pkg/usr/bin/bat
34 install -m644 $startdir/src/bacula-$pkgver/src/qt-console/bat.conf $startdir/pkg/etc/bacula/bat.conf
35 install -m644 $startdir/src/bacula-$pkgver/manpages/bat.1 $startdir/pkg/usr/man/man1/bat.1