shellcheck: fix man/doc installation
This commit is contained in:
parent
18e3cb3bb9
commit
274a927232
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue