diff options
Diffstat (limited to 'community/libcss')
-rw-r--r-- | community/libcss/PKGBUILD | 9 |
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 } |