[arch-commits] Commit in htdig/trunk (PKGBUILD)
Giovanni Scafora
giovanni at archlinux.org
Sat Apr 25 14:29:03 UTC 2009
Date: Saturday, April 25, 2009 @ 10:29:03
Author: giovanni
Revision: 36607
upgpkg: htdig 3.2.0b6-5
Modified:
htdig/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++------------
1 file changed, 17 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-04-25 11:39:45 UTC (rev 36606)
+++ PKGBUILD 2009-04-25 14:29:03 UTC (rev 36607)
@@ -1,35 +1,40 @@
# $Id: $
# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
pkgname=htdig
pkgver=3.2.0b6
-pkgrel=4
+pkgrel=5
pkgdesc="A complete world wide web indexing and searching system for a domain or intranet."
-url="http://www.htdig.org/"
+url="http://www.htdig.org"
arch=('i686' 'x86_64')
license=('GPL')
-depends=('gcc')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
- 'gcc4.3.patch' 'quoting.patch')
+depends=('gcc-libs' 'zlib' 'bash')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+ gcc4.3.patch
+ quoting.patch)
md5sums=('8b9b9587a411ac7dd278fa5413428960'
'2aeda683f95b58efc0978d7fe951de59'
'0d9099d3b5a32d322a8e0240f85a3578')
build() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd ${srcdir}/${pkgname}-${pkgver}
patch -p1 -i ${srcdir}/gcc4.3.patch
patch -p1 -i ${srcdir}/quoting.patch || return 1
./configure --prefix=/usr \
- --with-config-dir=/etc/htdig \
- --with-default-config-file=/etc/htdig/htdig.conf \
- --with-database-dir=/var/lib/htdig/db \
- --with-cgi-bin-dir=/srv/http/cgi-bin \
- --with-search-dir=/srv/http/htdocs/htdig \
- --with-image-dir=/srv/http/htdocs/htdig
+ --mandir=/usr/share/man \
+ --with-config-dir=/etc/htdig \
+ --with-default-config-file=/etc/htdig/htdig.conf \
+ --with-database-dir=/var/lib/htdig/db \
+ --with-cgi-bin-dir=/srv/http/cgi-bin \
+ --with-search-dir=/srv/http/htdocs/htdig \
+ --with-image-dir=/srv/http/htdocs/htdig
make || return 1
make DESTDIR=${pkgdir} install
ln -s /srv/http/cgi-bin/htsearch ${pkgdir}/usr/bin || return 1
}
+
More information about the arch-commits
mailing list