[arch-commits] Commit in webalizer/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Wed Oct 20 08:17:38 UTC 2010
Date: Wednesday, October 20, 2010 @ 04:17:37
Author: andrea
Revision: 96378
upgpkg: webalizer 2.23-1
upstream release built with db 5.1
Modified:
webalizer/trunk/PKGBUILD
----------+
PKGBUILD | 33 +++++++++++++++++++--------------
1 file changed, 19 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-10-20 03:31:37 UTC (rev 96377)
+++ PKGBUILD 2010-10-20 08:17:37 UTC (rev 96378)
@@ -1,30 +1,35 @@
# $Id$
-# Maintainer: Juergen Hoetzel
+# Maintainer:
+# Contributor: Juergen Hoetzel
pkgname=webalizer
-pkgver=2.21
-pkgrel=2
-pkgdesc="A web statistics generator with geolizer built in."
+pkgver=2.23
+_pkgver=2.23-03
+pkgrel=1
+pkgdesc="A web statistics generator with geolizer built in"
url="http://www.webalizer.com/"
license=('GPL')
arch=('i686' 'x86_64')
-depends=('db>=4.8' 'gd' 'geoip')
-source=(ftp://ftp.mrunix.net/pub/webalizer/$pkgname-$pkgver-02-src.tgz)
-md5sums=('e847bbba7949a65b4511d40566293b94')
+depends=('db' 'gd' 'geoip')
+source=("ftp://ftp.mrunix.net/pub/${pkgname}/${pkgname}-${_pkgver}-src.tgz")
+md5sums=('261c16f25a86e6d93d2426b371c7925f')
build() {
- cd $srcdir/$pkgname-$pkgver-02
+ cd ${srcdir}/${pkgname}-${_pkgver}
./configure --prefix=/usr --enable-geoip
- make || return 1
+ make
+}
+package() {
+ cd ${srcdir}/${pkgname}-${_pkgver}
+
# Set up our directory structure
- install -d -m755 $pkgdir/{usr/{bin,share/man/man1},etc}
+ install -d -m755 ${pkgdir}/{usr/{bin,share/man/man1},etc}
- make prefix=$pkgdir/usr datarootdir=$pkgdir/usr/share \
- ETCDIR=$pkgdir/etc install
+ make prefix=${pkgdir}/usr datarootdir=${pkgdir}/usr/share \
+ ETCDIR=${pkgdir}/etc install
- cd $pkgdir/usr/bin
+ cd ${pkgdir}/usr/bin
rm -fr webazolver
ln -s webalizer webazolver
}
-
More information about the arch-commits
mailing list