diff --git a/srcpkgs/shellcheck/template b/srcpkgs/shellcheck/template index 548393430a4..22c212f7fe8 100644 --- a/srcpkgs/shellcheck/template +++ b/srcpkgs/shellcheck/template @@ -1,7 +1,7 @@ # Template file for 'shellcheck' pkgname=shellcheck version=0.7.0 -revision=1 +revision=2 build_style=haskell-stack stackage="lts-13.26" hostmakedepends="pandoc" @@ -15,9 +15,12 @@ nocross=yes nopie_files="/usr/bin/shellcheck" pre_configure() { - pandoc -s -t man shellcheck.1.md -o shellcheck.1 + pandoc -s -f markdown-smart -t man shellcheck.1.md -o shellcheck.1 + pandoc -s -f markdown-smart -t html5 -o README.html README.md } post_install() { - vdoc shellcheck.1 + vdoc README.html + vman shellcheck.1 + cp -r ${wrksrc}/doc ${PKGDESTDIR}/usr/share/doc/${pkgname}/doc }