summaryrefslogtreecommitdiff
path: root/community/libparserutils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libparserutils/PKGBUILD')
-rw-r--r--community/libparserutils/PKGBUILD17
1 files changed, 10 insertions, 7 deletions
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 <bradfanella@archlinux.us>
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
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
}