Date: Friday, April 29, 2011 @ 17:48:54 Author: andyrtr Revision: 121256
upgpkg: libgtkhtml 2.11.1-3 rebuild of old package Modified: libgtkhtml/trunk/PKGBUILD ----------+ PKGBUILD | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-04-29 21:40:20 UTC (rev 121255) +++ PKGBUILD 2011-04-29 21:48:54 UTC (rev 121256) @@ -1,13 +1,14 @@ # $Id$ # Maintainer: Jan de Groot <j...@archlinux.org> + pkgname=libgtkhtml pkgver=2.11.1 -pkgrel=2 +pkgrel=3 pkgdesc="An HTML library for GTK" arch=(i686 x86_64) license=('LGPL') -depends=('gtk2>=2.14.4' 'libxml2>=2.6.32') -makedepends=('perlxml' 'pkgconfig') +depends=('gtk2>=2.22.1' 'libxml2>=2.7.8') +makedepends=('perlxml') options=('!libtool') url="http://www.gnome.org" source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.11/${pkgname}-${pkgver}.tar.bz2) @@ -16,7 +17,11 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-static || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + --localstatedir=/var --disable-static + make } + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +}