void-packages/srcpkgs/shellcheck/template

27 lines
655 B
Bash
Raw Normal View History

2015-12-02 10:14:36 +00:00
# Template file for 'shellcheck'
pkgname=shellcheck
2016-05-16 13:36:42 +00:00
version=0.4.4
2015-12-02 10:14:36 +00:00
revision=1
hostmakedepends="cabal-install"
short_desc="A static analysis tool for shell scripts"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-3"
homepage="http://www.shellcheck.net/"
distfiles="https://github.com/koalaman/shellcheck/archive/v${version}.tar.gz"
2016-05-16 13:36:42 +00:00
checksum=1f558bf3e2469477e260f8d2edcab381a9b600b01d0f6498f8a2565965d75407
2015-12-02 10:14:36 +00:00
nocross=yes
2016-05-24 14:22:44 +00:00
nopie=yes
2015-12-02 10:14:36 +00:00
do_build() {
cabal sandbox init
cabal update
cabal install ${makejobs} --only-dependencies
cabal configure
cabal build ${makejobs}
}
do_install() {
vbin dist/build/shellcheck/shellcheck
vdoc shellcheck.1.md
}