PKGBUILDs/extra/htdig/PKGBUILD
2009-10-09 21:23:22 -05:00

39 lines
1.2 KiB
Bash

# $Id: $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=htdig
pkgver=3.2.0b6
pkgrel=6
pkgdesc="A complete world wide web indexing and searching system for a domain or intranet."
url="http://www.htdig.org"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gcc-libs' 'zlib' 'bash')
options=('!libtool' '!emptydirs')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2
gcc4.3.patch
quoting.patch)
md5sums=('8b9b9587a411ac7dd278fa5413428960'
'2aeda683f95b58efc0978d7fe951de59'
'0d9099d3b5a32d322a8e0240f85a3578')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -p1 -i ${srcdir}/gcc4.3.patch
patch -p1 -i ${srcdir}/quoting.patch || return 1
./configure --prefix=/usr \
--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=/usr/bin \
--with-common-dir=/usr/share/doc/htdig \
--with-search-dir=/usr/share/doc/htdig \
--with-image-dir=/usr/share/doc/htdig
make || return 1
make DESTDIR=${pkgdir} install
}