diff options
Diffstat (limited to 'haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild')
-rw-r--r-- | haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild | 12 |
1 files changed, 10 insertions, 2 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 \ |