summaryrefslogtreecommitdiff
path: root/community/libparserutils/PKGBUILD
blob: 0f91f8d8df4cf1dbd8d4d1e6d08898a8ea8ecfe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 22542 2010-07-22 12:13:40Z lcarlier $
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=libparserutils
pkgver=0.0.2
pkgrel=1
pkgdesc="Library for building efficient parsers"
arch=('i686' 'x86_64')
url="http://www.netsurf-browser.org/projects/libparserutils"
license=('MIT')
source=("http://www.netsurf-browser.org/projects/releases/${pkgname}-${pkgver}-src.tar.gz")
md5sums=('5b2e4ddeebe451cc801ccd6e7da06f87')

build() {
	cd ${srcdir}/${pkgname}-${pkgver}

	make PREFIX=/usr
}

package() {
	cd ${srcdir}/${pkgname}-${pkgver}

	make install PREFIX=/usr DESTDIR=${pkgdir}
	install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}