summaryrefslogtreecommitdiff
path: root/community/libparserutils
diff options
context:
space:
mode:
Diffstat (limited to 'community/libparserutils')
-rw-r--r--community/libparserutils/PKGBUILD22
1 files changed, 12 insertions, 10 deletions
diff --git a/community/libparserutils/PKGBUILD b/community/libparserutils/PKGBUILD
index e9cd85e1b..a082bb807 100644
--- a/community/libparserutils/PKGBUILD
+++ b/community/libparserutils/PKGBUILD
@@ -1,20 +1,22 @@
-# $Id: PKGBUILD 56213 2011-10-03 13:57:53Z arodseth $
-# Maintainer: Brad Fanella <bradfanella@archlinux.us>
+# $Id: PKGBUILD 64884 2012-02-18 19:31:38Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+
pkgname=libparserutils
pkgver=0.1.1
-pkgrel=1
+pkgrel=2
pkgdesc="Library for building efficient parsers"
arch=('x86_64' 'i686')
url="http://www.netsurf-browser.org/projects/libparserutils"
license=('MIT')
-source=("http://www.netsurf-browser.org/projects/releases/${pkgname}-${pkgver}-src.tar.gz")
+source=("http://www.netsurf-browser.org/projects/releases/$pkgname-$pkgver-src.tar.gz")
depends=('glibc')
-md5sums=('4f228516863de33f33f7f4258315867e')
+sha256sums=('8b79ba58d6fa63fa9c74b71482d93f2c5b2c22badac77265f3cc47f3f603f87d')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "$srcdir/$pkgname-$pkgver"
sed 's:-Wall::' -i Makefile
make PREFIX=/usr COMPONENT_TYPE="lib-shared"
@@ -22,11 +24,11 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "$srcdir/$pkgname-$pkgver"
- 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" COMPONENT_TYPE="lib-shared"
+ make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-static"
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
# vim:set ts=2 sw=2 et: