[arch-commits] Commit in htdig/trunk (PKGBUILD)
Andrea Scarpino
andrea at nymeria.archlinux.org
Mon Oct 21 12:35:00 UTC 2013
Date: Monday, October 21, 2013 @ 14:35:00
Author: andrea
Revision: 197000
upgpkg: htdig 3.2.0b6-9
remove static libs
Modified:
htdig/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-21 12:33:19 UTC (rev 196999)
+++ PKGBUILD 2013-10-21 12:35:00 UTC (rev 197000)
@@ -4,13 +4,12 @@
pkgname=htdig
pkgver=3.2.0b6
-pkgrel=8
+pkgrel=9
pkgdesc="Scripts and HTML code needed for using ht://Dig as a web search engine"
url="http://www.htdig.org/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('openssl')
-options=('!libtool' 'emptydirs')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'gcc4.3.patch'
'CVE-2007-6110.patch')
@@ -18,12 +17,16 @@
'2aeda683f95b58efc0978d7fe951de59'
'0d9099d3b5a32d322a8e0240f85a3578')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}/gcc4.3.patch"
patch -p1 -i "${srcdir}/CVE-2007-6110.patch"
+}
+build() {
+ cd ${pkgname}-${pkgver}
+
./configure --prefix=/usr \
--mandir=/usr/share/man \
--with-config-dir=/etc/htdig \
@@ -30,9 +33,9 @@
--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 \
+ --with-common-dir=/usr/share/doc/htdig \
+ --with-search-dir=/usr/share/doc/htdig \
+ --with-image-dir=/usr/share/doc/htdig \
--localstatedir=/var/lib/htdig \
--with-ssl
make
@@ -39,6 +42,6 @@
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list