# $Id: PKGBUILD 139348 2011-10-01 18:59:07Z ibiru $ # Maintainer: Ionut Biru pkgname=gtkhtml4 _pkgbasename=gtkhtml pkgver=4.2.0 pkgrel=1 pkgdesc="A lightweight HTML renderer/editor widget for GTK3" arch=(i686 x86_64) license=('GPL') depends=('gtk3' 'enchant' 'iso-codes' 'gnome-icon-theme' 'libsoup') makedepends=('intltool') url="http://www.gnome.org" options=('!libtool') source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgbasename}/${pkgver%.*}/${_pkgbasename}-${pkgver}.tar.xz) sha256sums=('a4e50ac159fe49ddac07a3d0fba386ac90b404afce770a89e6077580578c38af') build() { cd "${srcdir}/${_pkgbasename}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/lib/gtkhtml4 \ --localstatedir=/var --disable-static make } package() { cd "${srcdir}/${_pkgbasename}-${pkgver}" make DESTDIR="${pkgdir}" install }