diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-10-28 01:38:39 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-10-28 01:38:39 +0200 |
commit | ddc027255b1bafb5c0544a60947b7c448140e384 (patch) | |
tree | 37e8b384eadf2f7f32e478ca41f10d3610b7aedd /arch/tde-deps/htdig/PKGBUILD | |
parent | a5c233945a54cedfcaf97a8d839b09a68b228e85 (diff) | |
download | tde-packaging-ddc027255b1bafb5c0544a60947b7c448140e384.tar.gz tde-packaging-ddc027255b1bafb5c0544a60947b7c448140e384.zip |
ArchLinux: Update for final R14.0.13.
Add aarch64 and armv7h to architectures.
Add pkgbuilds for several applications.
Add pkgbuild for libkipi library.
Add pkgbuilds for dependencies.
Remove dependence on Python 2.
Remove backported patches.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'arch/tde-deps/htdig/PKGBUILD')
-rw-r--r-- | arch/tde-deps/htdig/PKGBUILD | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/arch/tde-deps/htdig/PKGBUILD b/arch/tde-deps/htdig/PKGBUILD new file mode 100644 index 000000000..1edf3a90f --- /dev/null +++ b/arch/tde-deps/htdig/PKGBUILD @@ -0,0 +1,53 @@ +# $Id: PKGBUILD 260530 2016-03-02 18:25:02Z foutrelis $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Giovanni Scafora <giovanni@archlinux.org> + +pkgname=htdig +pkgver=3.2.0b6 +pkgrel=11.1 +pkgdesc="Scripts and HTML code needed for using ht://Dig as a web search engine" +url="http://www.htdig.org/" +arch=('i686' 'x86_64' 'aarch64' 'armv7h') +license=('GPL') +depends=('openssl') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2" + 'gcc4.3.patch' + 'CVE-2007-6110.patch') +md5sums=('8b9b9587a411ac7dd278fa5413428960' + '2aeda683f95b58efc0978d7fe951de59' + '0d9099d3b5a32d322a8e0240f85a3578') + +prepare() { + cd ${pkgname}-${pkgver} + + patch -p1 -i "${srcdir}/gcc4.3.patch" + patch -p1 -i "${srcdir}/CVE-2007-6110.patch" + + cp -a /usr/share/libtool/build-aux/config.guess . + cp -a /usr/share/libtool/build-aux/config.sub . + cp -a /usr/share/libtool/build-aux/config.guess ./db/ + cp -a /usr/share/libtool/build-aux/config.sub ./db/ +} + +build() { + cd ${pkgname}-${pkgver} + + CFLAGS=-Wno-narrowing CXXFLAGS="-Wno-narrowing -std=c++03" \ + ./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 \ + --localstatedir=/var/lib/htdig \ + --with-ssl + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install +} |