1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
6 pkgdesc="Distributed binlogging filesystem based on FUSE"
8 url="http://seznamfs.sourceforge.net/"
10 depends=('fuse' 'libcfgparser' 'libdbglog')
11 makedepends=('automake' 'autoconf' 'patch')
12 backup=('etc/$pkgname/$pkgname.conf')
13 source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2 \
15 md5sums=('77f433183df51f1336757da13b450df1'
16 '622d252168f1ee7220e9c65146495898')
19 cd ${srcdir}/$pkgname-$pkgver
22 automake --foreign --add-missing --copy
25 patch -Np0 -i ${srcdir}/$pkgname-gcc44.patch || return 1
27 ./configure --prefix=/usr --sysconfdir=/etc
29 make DESTDIR=${pkgdir} install
31 install -d ${pkgdir}/var/log/$pkgname || return 1
32 install -D -m644 etc/logrotate ${pkgdir}/etc/logrotate.d/$pkgname || return 1
33 install -D -m644 conf/$pkgname.conf ${pkgdir}/etc/$pkgname.conf || return 1
34 install -D -m644 help/$pkgname.html ${pkgdir}/usr/share/doc/$pkgname/$pkgname.html || return 1
35 install -D -m644 help/initscript.example ${pkgdir}/usr/share/doc/$pkgname/examples/initscript.example || return 1
36 install -D -m644 help/logrotate.example ${pkgdir}/usr/share/doc/$pkgname/examples/logrotate.example || return 1