summaryrefslogtreecommitdiff
path: root/community/libcss
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-08 23:09:34 +0000
committerroot <root@rshg047.dnsready.net>2011-07-08 23:09:34 +0000
commitd006db78a1ce530e9df8a65f87bf39e8d6cc88e5 (patch)
tree082c5c2c39abee82c3957872552fa15c8325744d /community/libcss
parentff64a82ccedcb1690d2f0140d63432aa49676591 (diff)
Fri Jul 8 23:09:34 UTC 2011
Diffstat (limited to 'community/libcss')
-rw-r--r--community/libcss/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
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 <ghost1227@archlinux.us>
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
}