summaryrefslogtreecommitdiff
path: root/community/sarg/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-18 12:59:58 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-18 12:59:58 -0300
commitf04f84ee9902c5aa8a88107bf0461aeef0030b9e (patch)
tree18f02f6ddf8d00d97af855dba055f89f615e3939 /community/sarg/PKGBUILD
parentf8dc0992fd9d1751e8de891cf74a655c32b8e922 (diff)
parent63d179775e063452db6358e15b9847e7fc6c84b6 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/gummi/PKGBUILD community-staging/mtpaint/PKGBUILD community-staging/mtpaint/mtpaint.install extra/php-xcache/PKGBUILD kde-unstable/akonadi/PKGBUILD kde-unstable/kdeedu-kig/PKGBUILD kde-unstable/kdeedu-rocs/PKGBUILD testing/xf86-video-intel/PKGBUILD
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 59240667e..51e9ff93a 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' 'mips64el')
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