diff options
Diffstat (limited to 'haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild')
-rw-r--r-- | haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild b/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild index 222be64ec2..3e5ed888cc 100644 --- a/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild +++ b/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild @@ -2,7 +2,8 @@ # 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 +# Copyright 2022 Andrew Clemons, Tokyo Japan # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-ShellCheck -VERSION=${VERSION:-0.7.2} +VERSION=${VERSION:-0.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -42,9 +43,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -76,6 +74,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 \ |