void-packages/srcpkgs/shellcheck/template
2019-08-05 09:35:37 +02:00

27 lines
764 B
Bash

# Template file for 'shellcheck'
pkgname=shellcheck
version=0.7.0
revision=1
build_style=haskell-stack
stackage="lts-13.26"
hostmakedepends="pandoc"
short_desc="Static analysis tool for shell scripts"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-3.0-or-later"
homepage="https://www.shellcheck.net/"
distfiles="https://github.com/koalaman/shellcheck/archive/v${version}.tar.gz"
checksum=946cf3421ffd418f0edc380d1184e4cb08c2ec7f098c79b1c8a2c482fe91d877
nocross=yes
nopie_files="/usr/bin/shellcheck"
case "$XBPS_TARGET_MACHINE" in
i686) broken="https://build.voidlinux.org/builders/i686_builder/builds/19227/steps/shell_3/logs/stdio"
esac
pre_configure() {
pandoc -s -t man shellcheck.1.md -o shellcheck.1
}
post_install() {
vdoc shellcheck.1
}