aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-14 22:02:43 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-16 08:20:16 +0700
commitc2c2a3e6a2af2f8b3f3f24a8857ab5b4d2758c4b (patch)
tree2795d1d2b3788b2826131579e2aabd7781b1d1de
parent600a3bea182ec347300649969e14edaed798d5d7 (diff)
haskell/haskell-hslua: Updated for version 2.1.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--haskell/haskell-hslua/haskell-hslua.SlackBuild10
-rw-r--r--haskell/haskell-hslua/haskell-hslua.info8
2 files changed, 13 insertions, 5 deletions
diff --git a/haskell/haskell-hslua/haskell-hslua.SlackBuild b/haskell/haskell-hslua/haskell-hslua.SlackBuild
index cd314ed94d178..32ca7ab4c4898 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 \
diff --git a/haskell/haskell-hslua/haskell-hslua.info b/haskell/haskell-hslua/haskell-hslua.info
index 73f67edeb5340..168dd61ba6fe8 100644
--- a/haskell/haskell-hslua/haskell-hslua.info
+++ b/haskell/haskell-hslua/haskell-hslua.info
@@ -1,10 +1,10 @@
PRGNAM="haskell-hslua"
-VERSION="1.0.1"
+VERSION="2.1.0"
HOMEPAGE="https://hackage.haskell.org/package/hslua"
-DOWNLOAD="https://hackage.haskell.org/packages/archive/hslua/1.0.1/hslua-1.0.1.tar.gz"
-MD5SUM="e0ac2ded42fa4a7ebb8147ae17bdbd63"
+DOWNLOAD="https://hackage.haskell.org/packages/archive/hslua/2.1.0/hslua-2.1.0.tar.gz"
+MD5SUM="cf0a83092348ef682665b0256f5ee6eb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="haskell-exceptions haskell-fail"
+REQUIRES="haskell-fail haskell-hslua-classes haskell-hslua-packaging"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"