From fa36b6e7d8881a45982d9d89638965c78d3cc710 Mon Sep 17 00:00:00 2001 From: teldra Date: Sat, 3 Aug 2019 10:16:21 +0200 Subject: [PATCH] shellcheck: update to 0.7.0 --- srcpkgs/shellcheck/template | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/srcpkgs/shellcheck/template b/srcpkgs/shellcheck/template index 297b720fd62..548393430a4 100644 --- a/srcpkgs/shellcheck/template +++ b/srcpkgs/shellcheck/template @@ -1,18 +1,23 @@ # Template file for 'shellcheck' pkgname=shellcheck -version=0.6.0 +version=0.7.0 revision=1 build_style=haskell-stack -stackage="lts-13.2" +stackage="lts-13.26" +hostmakedepends="pandoc" short_desc="Static analysis tool for shell scripts" maintainer="Diogo Leal " license="GPL-3.0-or-later" homepage="https://www.shellcheck.net/" distfiles="https://github.com/koalaman/shellcheck/archive/v${version}.tar.gz" -checksum=78f90aa8e618dc468bc1c36b6929216dc7a0c2679cd157e50919f7d8cc1899bc +checksum=946cf3421ffd418f0edc380d1184e4cb08c2ec7f098c79b1c8a2c482fe91d877 nocross=yes nopie_files="/usr/bin/shellcheck" -post_install() { - vdoc shellcheck.1.md +pre_configure() { + pandoc -s -t man shellcheck.1.md -o shellcheck.1 +} + +post_install() { + vdoc shellcheck.1 }