updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / seznamfs / PKGBUILD
blobbf0594686fb383d5538dfc18ac4f1d05dfa9de07
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 pkgname=seznamfs
4 pkgver=0.2.3
5 pkgrel=1
6 pkgdesc="Distributed binlogging filesystem based on FUSE"
7 arch=('i686' 'x86_64')
8 url="http://seznamfs.sourceforge.net/"
9 license=('GPL3')
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 \
14         $pkgname-gcc44.patch)
15 md5sums=('77f433183df51f1336757da13b450df1'
16          '622d252168f1ee7220e9c65146495898')
18 build() {
19   cd ${srcdir}/$pkgname-$pkgver
21   aclocal
22   automake --foreign --add-missing --copy
23   autoconf
25   patch -Np0 -i ${srcdir}/$pkgname-gcc44.patch || return 1
27   ./configure --prefix=/usr --sysconfdir=/etc
28   make || return 1
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