summaryrefslogtreecommitdiff
path: root/extra/libcroco
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libcroco')
-rw-r--r--extra/libcroco/PKGBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/extra/libcroco/PKGBUILD b/extra/libcroco/PKGBUILD
index ca1479053..fef3e85b3 100644
--- a/extra/libcroco/PKGBUILD
+++ b/extra/libcroco/PKGBUILD
@@ -1,21 +1,26 @@
-# $Id: PKGBUILD 26935 2009-02-14 19:49:35Z jgc $
+# $Id: PKGBUILD 137630 2011-09-10 08:40:20Z pierre $
# Maintainer: Jan de Groot <jgc@archlinux.org>
+
pkgname=libcroco
pkgver=0.6.2
-pkgrel=1
+pkgrel=2
pkgdesc="GNOME CSS2 parsing and manipulation toolkit"
arch=('x86_64' 'i686')
-depends=('glib2>=2.18.4' 'libxml2>=2.7.3')
+depends=('glib2' 'libxml2')
makedepends=('intltool' 'pkgconfig')
license=('LGPL')
options=('!libtool')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.6/${pkgname}-${pkgver}.tar.bz2)
+source=("http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.6/${pkgname}-${pkgver}.tar.bz2")
url="http://www.gnome.org"
md5sums=('1429c597aa4b75fc610ab3a542c99209')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --disable-static || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}