# Maintainer: Nathan Angelacos pkgname=byacc pkgver=20230521 pkgrel=1 pkgdesc="The Berkeley Yacc general-purpose parser generator" url="https://invisible-island.net/byacc/byacc.html" arch="all" license="Public-Domain" depends="!bison" subpackages="$pkgname-doc" source="https://invisible-mirror.net/archives/byacc/byacc-$pkgver.tgz" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } check() { make check } package() { make DESTDIR="$pkgdir" install ln -sfv yacc "$pkgdir"/usr/bin/byacc } sha512sums=" 9437806510f49a785ab7d4685c56708cd0053d242f1491e9c40af36112d6c6c471e579a75da75980a0356c1c9f319afbb8cc01139d6823511d285e0dd413d9c4 byacc-20230521.tgz "