PKGBUILDs/community/libparserutils/PKGBUILD
2009-10-09 21:15:33 -05:00

20 lines
669 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Paulo Matias <matiasΘarchlinux-br·org>
pkgname=libparserutils
pkgver=0.0.1
pkgrel=1
pkgdesc="Library for building efficient parsers"
arch=("i686" "x86_64")
url="http://www.netsurf-browser.org/projects/libparserutils"
license=('MIT')
depends=('glibc')
source=("http://www.netsurf-browser.org/projects/releases/${pkgname}-${pkgver}-src.tar.gz")
md5sums=('5999c2d52f8c07eeef2a8808fee4f858')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX=/usr || return 1
make install PREFIX=/usr DESTDIR="${pkgdir}" || return 1
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}