From d006db78a1ce530e9df8a65f87bf39e8d6cc88e5 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 8 Jul 2011 23:09:34 +0000 Subject: Fri Jul 8 23:09:34 UTC 2011 --- community/libcss/PKGBUILD | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'community/libcss/PKGBUILD') diff --git a/community/libcss/PKGBUILD b/community/libcss/PKGBUILD index e65a06b83..56a00339c 100644 --- a/community/libcss/PKGBUILD +++ b/community/libcss/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: Daniel J Griffiths pkgname=libcss -pkgver=0.0.2 +pkgver=0.1.0 pkgrel=1 pkgdesc="A CSS parser and selection engine." arch=('i686' 'x86_64') @@ -10,15 +10,16 @@ url="http://www.netsurf-browser.org/projects/libcss/" license=('MIT') depends=('libparserutils' 'libwapcaplet') source=(http://www.netsurf-browser.org/projects/releases/libcss-${pkgver}-src.tar.gz) -md5sums=('3bbdd853a2f52db7ab0e2ea3597e62fa') +md5sums=('47b9bba60fffe16ecebeba578c89fd40') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${srcdir}/${pkgname}-${pkgver}-src + export CFLAGS="-Wno-error=unused-but-set-variable" make } package() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${srcdir}/${pkgname}-${pkgver}-src make PREFIX=/usr DESTDIR=${pkgdir} install install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING } -- cgit v1.2.3-54-g00ecf