summaryrefslogtreecommitdiff
path: root/community/leafnode/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/leafnode/PKGBUILD')
-rw-r--r--community/leafnode/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/community/leafnode/PKGBUILD b/community/leafnode/PKGBUILD
index a09bf47e4..35c4efb62 100644
--- a/community/leafnode/PKGBUILD
+++ b/community/leafnode/PKGBUILD
@@ -1,10 +1,9 @@
-# $Id: PKGBUILD 58812 2011-11-18 15:35:58Z spupykin $
+# $Id: PKGBUILD 59410 2011-11-24 15:33:29Z 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=2
+pkgrel=4
pkgdesc="implements a store & forward NNTP proxy (client and server) with IPv4 and IPv6"
arch=('i686' 'x86_64')
url="http://leafnode.sourceforge.net/"
@@ -23,6 +22,8 @@ build() {
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc/leafnode \
--with-user=9 \
--with-group=13
+ sed -i 's|#define NEWS_USER .*|#define NEWS_USER "news"|' config.h
+ sed -i 's|#define NEWS_GROUP .*|#define NEWS_GROUP "news"|' config.h
make
make DESTDIR=$pkgdir install
chown -R root.root $pkgdir