From bf35116f9d203dcafce808a6c7b3dd5a0db8afbc Mon Sep 17 00:00:00 2001 From: root Date: Tue, 2 Aug 2011 04:35:55 +0000 Subject: Tue Aug 2 04:35:55 UTC 2011 --- community/libparserutils/PKGBUILD | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'community/libparserutils') diff --git a/community/libparserutils/PKGBUILD b/community/libparserutils/PKGBUILD index 88550cc62..9c7f3358e 100644 --- a/community/libparserutils/PKGBUILD +++ b/community/libparserutils/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 46354 2011-05-06 03:07:02Z bfanella $ +# $Id: PKGBUILD 52548 2011-07-26 04:43:08Z bfanella $ # Maintainer: Brad Fanella # Contributor: Paulo Matias # Contributor: Daniel J Griffiths pkgname=libparserutils pkgver=0.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Library for building efficient parsers" arch=('i686' 'x86_64') url="http://www.netsurf-browser.org/projects/libparserutils" @@ -14,15 +14,18 @@ source=("http://www.netsurf-browser.org/projects/releases/${pkgname}-${pkgver}-s md5sums=('eb415317925a0fb12a4ff8f849d2fe92') build() { - cd ${srcdir}/${pkgname}-${pkgver}-src + cd "${srcdir}"/${pkgname}-${pkgver}-src sed 's/-Wall/ /' -i Makefile - make PREFIX=/usr + make PREFIX=/usr COMPONENT_TYPE="lib-shared" + make PREFIX=/usr COMPONENT_TYPE="lib-static" } package() { - cd ${srcdir}/${pkgname}-${pkgver}-src + cd "${srcdir}"/${pkgname}-${pkgver}-src + + 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 - make install PREFIX=/usr DESTDIR=${pkgdir} - install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING } -- cgit v1.2.3-54-g00ecf