# $Id: PKGBUILD 2727 2009-09-21 09:35:55Z spupykin $ # Maintainer: Sergej Pupykin # You need an news user and group to build this package pkgname=leafnode pkgver=1.11.7 pkgrel=1 pkgdesc="implements a store & forward NNTP proxy (client and server) with IPv4 and IPv6" arch=('i686' 'x86_64') url="http://leafnode.sourceforge.net/" depends=(pcre) license=('GPL') install=(leafnode.install) options=(!emptydirs) source=(http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2) md5sums=('e5e8ac28386c59df0b14ddbfcbe78509') build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc/leafnode make || return 1 make DESTDIR=$startdir/pkg install && \ chown -R root.root $startdir/pkg }