summaryrefslogtreecommitdiff
path: root/community/sarg/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-18 00:01:34 +0000
committerroot <root@rshg054.dnsready.net>2012-07-18 00:01:34 +0000
commit63d179775e063452db6358e15b9847e7fc6c84b6 (patch)
tree0082531329e5caae873c4eb5f1fbd41d2a98d938 /community/sarg/PKGBUILD
parent412d061bfbf23d1e908eed3f8405b1af46fb1ba8 (diff)
Wed Jul 18 00:01:34 UTC 2012
Diffstat (limited to 'community/sarg/PKGBUILD')
-rw-r--r--community/sarg/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/community/sarg/PKGBUILD b/community/sarg/PKGBUILD
index f28d10479..11882d279 100644
--- a/community/sarg/PKGBUILD
+++ b/community/sarg/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 65425 2012-02-21 05:42:20Z spupykin $
+# $Id: PKGBUILD 73875 2012-07-16 07:53:58Z 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=4
+pkgrel=5
pkgdesc="Squid Analysis Report Generator"
arch=('i686' 'x86_64')
url="http://sarg.sourceforge.net"
@@ -21,6 +21,8 @@ md5sums=('bf637b8a820b81e2c55e815934151b4d')
build() {
cd ${srcdir}/$pkgname-$pkgver
+ ./configure --prefix=/usr # po files workaround
+ rm -f Makefile
LDFLAGS=-lm cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc/sarg -DMANDIR=/usr/share/man/man1 .
make
}
@@ -29,6 +31,7 @@ package() {
cd ${srcdir}/$pkgname-$pkgver
mkdir -p $pkgdir/usr/share/sarg $pkgdir/etc
make DESTDIR="$pkgdir" install
+ make -C po DESTDIR="$pkgdir" install
cp -a sarg-php ${pkgdir}/usr/share/sarg/
chmod -R o+r ${pkgdir}{/etc,/usr/share/sarg}
chmod o+x ${pkgdir}/usr/share/sarg/sarg-php