# Template file for 'scdoc' pkgname=scdoc version=1.8.1 revision=1 build_style=gnu-makefile short_desc="Tool for generating roff manual pages" maintainer="Julio Galvan " license="MIT" homepage="https://git.sr.ht/~sircmpwn/scdoc" distfiles="https://git.sr.ht/~sircmpwn/scdoc/archive/${version}.tar.gz" checksum=67072e4cacf3d0b55df2356634d43c8efce8ad11a77b7d775b33a62c97cd78b8 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" scdoc" fi pre_build() { if [ "$CROSS_BUILD" ]; then vsed -e "s|^HOST_SCDOC=.*|HOST_SCDOC=/usr/bin/scdoc|g" -i Makefile fi vsed -e "s/\" VERSION \"/ ${version}/g" -i src/main.c } post_install() { vlicense COPYING }