[arch-commits] Commit in sarg/repos (4 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Thu Jul 4 10:10:50 UTC 2013
Date: Thursday, July 4, 2013 @ 12:10:50
Author: spupykin
Revision: 93482
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
sarg/repos/community-staging-i686/
sarg/repos/community-staging-i686/PKGBUILD
(from rev 93481, sarg/trunk/PKGBUILD)
sarg/repos/community-staging-x86_64/
sarg/repos/community-staging-x86_64/PKGBUILD
(from rev 93481, sarg/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+)
Copied: sarg/repos/community-staging-i686/PKGBUILD (from rev 93481, sarg/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-07-04 10:10:50 UTC (rev 93482)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: JJDaNiMoTh <jjdanimoth.aur at gmail.com>
+# Contributor: Tino Reichardt <milky-archlinux at mcmilk.de>
+
+pkgname=sarg
+pkgver=2.3.6
+pkgrel=3
+pkgdesc="Squid Analysis Report Generator"
+arch=('i686' 'x86_64')
+url="http://sarg.sourceforge.net"
+license=('GPL')
+depends=('gd' 'libldap')
+makedepends=('cmake')
+backup=('etc/sarg/css.tpl'
+ 'etc/sarg/exclude_codes'
+ 'etc/sarg/sarg.conf'
+ 'etc/sarg/user_limit_block')
+source=(http://downloads.sourceforge.net/sourceforge/sarg/$pkgname-$pkgver.tar.gz)
+md5sums=('399809d00671ae564468bf363c12fd7f')
+
+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
+}
+
+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
+ chmod -R o+x ${pkgdir}/usr/share/sarg/sarg-php/locale
+}
Copied: sarg/repos/community-staging-x86_64/PKGBUILD (from rev 93481, sarg/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-07-04 10:10:50 UTC (rev 93482)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: JJDaNiMoTh <jjdanimoth.aur at gmail.com>
+# Contributor: Tino Reichardt <milky-archlinux at mcmilk.de>
+
+pkgname=sarg
+pkgver=2.3.6
+pkgrel=3
+pkgdesc="Squid Analysis Report Generator"
+arch=('i686' 'x86_64')
+url="http://sarg.sourceforge.net"
+license=('GPL')
+depends=('gd' 'libldap')
+makedepends=('cmake')
+backup=('etc/sarg/css.tpl'
+ 'etc/sarg/exclude_codes'
+ 'etc/sarg/sarg.conf'
+ 'etc/sarg/user_limit_block')
+source=(http://downloads.sourceforge.net/sourceforge/sarg/$pkgname-$pkgver.tar.gz)
+md5sums=('399809d00671ae564468bf363c12fd7f')
+
+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
+}
+
+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
+ chmod -R o+x ${pkgdir}/usr/share/sarg/sarg-php/locale
+}
More information about the arch-commits
mailing list