updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / peg / PKGBUILD
blobd97935d834b3008665fedfa58278660aca804dc3
1 # Contributor: Luke McCarthy <luke@iogopro.co.uk>
3 pkgname=peg
4 pkgver=0.1.4
5 pkgrel=1
6 pkgdesc="Tools for generating recursive-descent parsers"
7 url="http://piumarta.com/software/peg/"
8 license=('MIT')
9 depends=('glibc')
10 arch=('i686' 'x86_64')
11 source=(http://piumarta.com/software/peg/peg-$pkgver.tar.gz)
12 md5sums=('feb52a19a749f08fa8602387f1acbd93')
14 build() {
15   cd $startdir/src/$pkgname-$pkgver
16   install -d $startdir/pkg/usr/bin
17   install -d $startdir/pkg/usr/share/man/man1
18   make PREFIX=$startdir/pkg/usr install || return 1
19   install -m 644 peg.1 $startdir/pkg/usr/share/man/man1