diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6305f94139ac --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: Jan de Groot <jgc@archlinux.org> +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> + +pkgname=gtkhtml3 +pkgver=3.32.2 +pkgrel=4 +pkgdesc="A lightweight HTML renderer/editor widget for GTK2" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gconf' 'gtk2' 'gnome-icon-theme' 'enchant' 'iso-codes' 'libsoup') +makedepends=('intltool') +replaces=('gtkhtml') +url="http://www.gnome.org" +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname//3/}/3.32/${pkgname//3/}-${pkgver}.tar.bz2) +sha256sums=('8746053cf709e1de37c7ac775ab1364ddda4b75167660ed7f98a237b3797e39f') + +build() { + cd "${srcdir}/${pkgname//3/}-${pkgver}" + CFLAGS+=" -lgthread-2.0" ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/gtkhtml \ + --localstatedir=/var --disable-static \ + --disable-deprecated-warning-flags + make +} + +package() { + cd "${srcdir}/${pkgname//3/}-${pkgver}" + make DESTDIR="${pkgdir}" install + + rm -f "${pkgdir}/usr/bin/gtkhtml-editor-test" +} |