summaryrefslogtreecommitdiff
path: root/community/libcss
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-02 04:35:55 +0000
committerroot <root@rshg054.dnsready.net>2011-08-02 04:35:55 +0000
commitbf35116f9d203dcafce808a6c7b3dd5a0db8afbc (patch)
treef9551a1d3c67d2113cc5fc5c3f8816bcbaad0540 /community/libcss
parent1173ff2dba7d0fd3c45f170a5e353a76b7a5da2f (diff)
Tue Aug 2 04:35:55 UTC 2011
Diffstat (limited to 'community/libcss')
-rw-r--r--community/libcss/PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/community/libcss/PKGBUILD b/community/libcss/PKGBUILD
index 56a00339c..f0411f553 100644
--- a/community/libcss/PKGBUILD
+++ b/community/libcss/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=libcss
pkgver=0.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="A CSS parser and selection engine."
arch=('i686' 'x86_64')
url="http://www.netsurf-browser.org/projects/libcss/"
@@ -14,12 +14,17 @@ md5sums=('47b9bba60fffe16ecebeba578c89fd40')
build() {
cd ${srcdir}/${pkgname}-${pkgver}-src
+
export CFLAGS="-Wno-error=unused-but-set-variable"
- make
+
+ make PREFIX=/usr COMPONENT_TYPE="lib-shared"
+ make PREFIX=/usr COMPONENT_TYPE="lib-static"
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}-src
- make PREFIX=/usr DESTDIR=${pkgdir} install
+
+ make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-shared"
+ make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-static"
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}