summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons2021-11-19 22:39:11 +0100
committer Andrew Clemons2022-01-17 06:13:45 +0100
commite0ab519f21c3c2d6e9c0b91449ad7365637957f7 (patch)
treed64e26881f1113cae76cc369030e0a4fc7599d74
parentaa07cd33a566f00ac760b3fce0aabd82a0340e9e (diff)
downloadslackbuilds-e0ab519f21c3c2d6e9c0b91449ad7365637957f7.tar.gz
haskell/haskell-ShellCheck: Updated for version 0.8.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
-rw-r--r--haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild12
-rw-r--r--haskell/haskell-ShellCheck/haskell-ShellCheck.info6
2 files changed, 13 insertions, 5 deletions
diff --git a/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild b/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild
index 222be64ec2..09679e50a0 100644
--- a/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild
+++ b/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for haskell-ShellCheck
-# Copyright 2017-2018, 2020 Andrew Clemons, Wellington New Zealand
+# Copyright 2017-2018, 2020-2021 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=haskell-ShellCheck
-VERSION=${VERSION:-0.7.2}
+VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,6 +76,14 @@ cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
+cat << EOF > Setup.hs
+module Main (main) where
+
+import Distribution.Simple
+
+main :: IO ()
+main = defaultMain
+EOF
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/haskell/haskell-ShellCheck/haskell-ShellCheck.info b/haskell/haskell-ShellCheck/haskell-ShellCheck.info
index 96a3603ae6..94441d356e 100644
--- a/haskell/haskell-ShellCheck/haskell-ShellCheck.info
+++ b/haskell/haskell-ShellCheck/haskell-ShellCheck.info
@@ -1,8 +1,8 @@
PRGNAM="haskell-ShellCheck"
-VERSION="0.7.2"
+VERSION="0.8.0"
HOMEPAGE="https://www.shellcheck.net/"
-DOWNLOAD="https://hackage.haskell.org/package/ShellCheck-0.7.2/ShellCheck-0.7.2.tar.gz"
-MD5SUM="bd9e5fbd1e1f76f0591adf702b7999a4"
+DOWNLOAD="https://hackage.haskell.org/package/ShellCheck-0.8.0/ShellCheck-0.8.0.tar.gz"
+MD5SUM="2d12124f649819f7417c715b961040b8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="haskell-aeson haskell-json haskell-QuickCheck haskell-regex-tdfa haskell-Diff"