# Template file for 'camlp5'
pkgname=camlp5
version=7.07
revision=1
build_style=configure
configure_args="-mandir /usr/share/man"
hostmakedepends="ocaml"
short_desc="OCaml preprocessor and pretty-printer"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause"
homepage="https://camlp5.github.io/"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/rel${version//./}.tar.gz"
wrksrc="camlp5-rel${version//./}"
nocross=yes
nopie=yes
checksum=a2c493b833b217adf94d2000eb19015b990c4e441beb35cf36b1d33ed2351991

post_install() {
	vinstall etc/META 0644 usr/lib/ocaml/camlp5
	vlicense LICENSE
}
