# Template file for 'byacc'
pkgname=byacc
version=20221229
revision=1
build_style=gnu-configure
configure_args="--program-transform=s,^,b,"
short_desc="Berkeley yacc, a LALR(1) parser generator"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Public Domain"
homepage="https://invisible-island.net/byacc/"
distfiles="ftp://ftp.invisible-island.net/byacc/byacc-${version}.tgz"
checksum=1316c6f790fafa6688427f1ff91267b61d8b7873b443c620eef69a6eff0503bc

alternatives="
 yacc:yacc:/usr/bin/byacc
 yacc:yacc.1:/usr/share/man/man1/byacc.1"

post_install() {
	vlicense README LICENSE
}
