summaryrefslogtreecommitdiff
path: root/community/sarg/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/sarg/PKGBUILD')
-rw-r--r--community/sarg/PKGBUILD11
1 files changed, 3 insertions, 8 deletions
diff --git a/community/sarg/PKGBUILD b/community/sarg/PKGBUILD
index 600cccdb1..f28d10479 100644
--- a/community/sarg/PKGBUILD
+++ b/community/sarg/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 60007 2011-12-03 08:04:41Z spupykin $
+# $Id: PKGBUILD 65425 2012-02-21 05:42:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: JJDaNiMoTh <jjdanimoth.aur@gmail.com>
# Contributor: Tino Reichardt <milky-archlinux@mcmilk.de>
pkgname=sarg
pkgver=2.3.1
-pkgrel=3
+pkgrel=4
pkgdesc="Squid Analysis Report Generator"
arch=('i686' 'x86_64')
url="http://sarg.sourceforge.net"
@@ -21,11 +21,7 @@ md5sums=('bf637b8a820b81e2c55e815934151b4d')
build() {
cd ${srcdir}/$pkgname-$pkgver
-# ./configure --prefix="/usr" \
-# --enable-sargphp="/usr/share/sarg/sarg-php" \
-# --sysconfdir="/etc/sarg" \
-# --mandir="/usr/share/man/man1"
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc/sarg -DMANDIR=/usr/share/man/man1 .
+ LDFLAGS=-lm cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc/sarg -DMANDIR=/usr/share/man/man1 .
make
}
@@ -34,7 +30,6 @@ package() {
mkdir -p $pkgdir/usr/share/sarg $pkgdir/etc
make DESTDIR="$pkgdir" install
cp -a sarg-php ${pkgdir}/usr/share/sarg/
- # silence namcap warnings
chmod -R o+r ${pkgdir}{/etc,/usr/share/sarg}
chmod o+x ${pkgdir}/usr/share/sarg/sarg-php
chmod -R o+x ${pkgdir}/usr/share/sarg/sarg-php/locale