2015-12-02 11:14:36 +01:00
|
|
|
# Template file for 'shellcheck'
|
|
|
|
pkgname=shellcheck
|
2016-01-13 08:52:20 +01:00
|
|
|
version=0.4.2
|
2015-12-02 11:14:36 +01: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-01-13 08:52:20 +01:00
|
|
|
checksum=ea3eca5f2cce13ab6b4332b3cb5fb419c7ebf3f2e3d4d01c52b6cf5938aa96cf
|
2015-12-02 11:14:36 +01:00
|
|
|
nocross=yes
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|