mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-13 10:33:50 +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'
|
||||
pkgname=shellcheck
|
||||
version=0.5.0
|
||||
revision=1
|
||||
hostmakedepends="cabal-install"
|
||||
revision=2
|
||||
build_style=haskell-stack
|
||||
stackage="lts-12.0"
|
||||
short_desc="A static analysis tool for shell scripts"
|
||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||
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"
|
||||
checksum=348a3f7892c1f28a44f188c00ac82f1b3bf899d9f81d14ddb0e306db26c937bb
|
||||
nocross=yes
|
||||
nopie=yes
|
||||
nopie_files="/usr/bin/shellcheck"
|
||||
|
||||
do_build() {
|
||||
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
|
||||
post_install() {
|
||||
vdoc shellcheck.1.md
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue