mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-13 08:12:56 +02:00
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'
|
# Template file for 'shellcheck'
|
||||||
pkgname=shellcheck
|
pkgname=shellcheck
|
||||||
version=0.7.0
|
version=0.7.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=haskell-stack
|
build_style=haskell-stack
|
||||||
stackage="lts-13.26"
|
stackage="lts-13.26"
|
||||||
hostmakedepends="pandoc"
|
hostmakedepends="pandoc"
|
||||||
|
@ -15,9 +15,12 @@ nocross=yes
|
||||||
nopie_files="/usr/bin/shellcheck"
|
nopie_files="/usr/bin/shellcheck"
|
||||||
|
|
||||||
pre_configure() {
|
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() {
|
post_install() {
|
||||||
vdoc shellcheck.1
|
vdoc README.html
|
||||||
|
vman shellcheck.1
|
||||||
|
cp -r ${wrksrc}/doc ${PKGDESTDIR}/usr/share/doc/${pkgname}/doc
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue