mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
shellcheck: rebuild for ghc-4.8.3, use stack.
This commit is contained in:
parent
3d8548c763
commit
d084adfb4a
1 changed files with 5 additions and 17 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'shellcheck'
|
# Template file for 'shellcheck'
|
||||||
pkgname=shellcheck
|
pkgname=shellcheck
|
||||||
version=0.5.0
|
version=0.5.0
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="cabal-install"
|
build_style=haskell-stack
|
||||||
|
stackage="lts-12.0"
|
||||||
short_desc="A static analysis tool for shell scripts"
|
short_desc="A static analysis tool for shell scripts"
|
||||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
|
@ -10,21 +11,8 @@ homepage="https://www.shellcheck.net/"
|
||||||
distfiles="https://github.com/koalaman/shellcheck/archive/v${version}.tar.gz"
|
distfiles="https://github.com/koalaman/shellcheck/archive/v${version}.tar.gz"
|
||||||
checksum=348a3f7892c1f28a44f188c00ac82f1b3bf899d9f81d14ddb0e306db26c937bb
|
checksum=348a3f7892c1f28a44f188c00ac82f1b3bf899d9f81d14ddb0e306db26c937bb
|
||||||
nocross=yes
|
nocross=yes
|
||||||
nopie=yes
|
nopie_files="/usr/bin/shellcheck"
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
cabal sandbox init
|
|
||||||
cabal update
|
|
||||||
cabal install ${makejobs} --only-dependencies
|
|
||||||
cabal configure
|
|
||||||
cabal build ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_check() {
|
|
||||||
cabal test
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin dist/build/shellcheck/shellcheck
|
|
||||||
vdoc shellcheck.1.md
|
vdoc shellcheck.1.md
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue