26 lines
655 B
Bash
26 lines
655 B
Bash
# Template file for 'shellcheck'
|
|
pkgname=shellcheck
|
|
version=0.4.5
|
|
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"
|
|
checksum=b9d34cd8aa88e2b278bd0df5009c18e84ff08a629b6e95c6b031236199232893
|
|
nocross=yes
|
|
nopie=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
|
|
}
|