aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-sandi/haskell-sandi.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-01-07 21:48:21 +1300
committerAndrew Clemons <andrew.clemons@gmail.com>2022-01-17 18:13:51 +1300
commit935463051f0310d09a2624a4d426032cd2ce12a9 (patch)
treed6fe8a9e8813179400b707ebaa4806d37cb7c0fb /haskell/haskell-sandi/haskell-sandi.SlackBuild
parent5bdbd0c567488c6d9bc60b6002a9ab40b2aec7fa (diff)
haskell/haskell-sandi: Updated for version 0.5.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'haskell/haskell-sandi/haskell-sandi.SlackBuild')
-rw-r--r--haskell/haskell-sandi/haskell-sandi.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/haskell/haskell-sandi/haskell-sandi.SlackBuild b/haskell/haskell-sandi/haskell-sandi.SlackBuild
index 557bc80aec264..ee7045f66a0a4 100644
--- a/haskell/haskell-sandi/haskell-sandi.SlackBuild
+++ b/haskell/haskell-sandi/haskell-sandi.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=haskell-sandi
-VERSION=${VERSION:-0.4.2}
+VERSION=${VERSION:-0.5}
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 \