1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
2 # Contributor: Abel Stern <abel.stern AT gmail.com>
3 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
8 pkgdesc="A Berkeley reimplementation of the Unix parser generator Yacc"
10 url="http://invisible-island.net/byacc/"
14 conflicts=('bison' 'byacc-noconflict')
15 source=(ftp://invisible-island.net/$pkgname/$pkgname.tar.gz)
16 md5sums=('5665ee1f2ca482d57eef9591a2fe4768')
19 cd ${srcdir}/$pkgname-$pkgver
21 ./configure --prefix=/usr --mandir=/usr/share/man
26 cd ${srcdir}/$pkgname-$pkgver
27 make DESTDIR=${pkgdir} install
30 sed -n "/is distributed/,/distributed freely/p" README > COPYING
31 install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/COPYING