aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-hslua/haskell-hslua.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'haskell/haskell-hslua/haskell-hslua.SlackBuild')
-rw-r--r--haskell/haskell-hslua/haskell-hslua.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/haskell/haskell-hslua/haskell-hslua.SlackBuild b/haskell/haskell-hslua/haskell-hslua.SlackBuild
index cd314ed94d17..32ca7ab4c489 100644
--- a/haskell/haskell-hslua/haskell-hslua.SlackBuild
+++ b/haskell/haskell-hslua/haskell-hslua.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=haskell-hslua
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -77,6 +77,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 \