summaryrefslogtreecommitdiff
path: root/community/leafnode/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/leafnode/PKGBUILD')
-rw-r--r--community/leafnode/PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/community/leafnode/PKGBUILD b/community/leafnode/PKGBUILD
index f9782f1fa..a09bf47e4 100644
--- a/community/leafnode/PKGBUILD
+++ b/community/leafnode/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 58613 2011-11-16 15:33:07Z spupykin $
+# $Id: PKGBUILD 58812 2011-11-18 15:35:58Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# You need an news user and group to build this package
pkgname=leafnode
pkgver=1.11.8
-pkgrel=1
+pkgrel=2
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 xinetd)
+depends=('pcre' 'xinetd')
license=('GPL')
install=leafnode.install
options=(!emptydirs)
-backup=(etc/xinet.d/leafnode)
+backup=('etc/xinetd.d/leafnode')
source=(http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
leafnode.xinetd)
md5sums=('a3edafeb854efaa3fbb0f7951d02160f'
@@ -20,10 +20,11 @@ md5sums=('a3edafeb854efaa3fbb0f7951d02160f'
build() {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc/leafnode
- make || return 1
- make DESTDIR=$pkgdir install && \
- chown -R root.root $pkgdir && \
+ ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc/leafnode \
+ --with-user=9 \
+ --with-group=13
+ make
+ make DESTDIR=$pkgdir install
+ chown -R root.root $pkgdir
install -D -m0644 $srcdir/leafnode.xinetd $pkgdir/etc/xinetd.d/leafnode
}
-