aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--haskell/haskell-sandi/haskell-sandi.SlackBuild10
-rw-r--r--haskell/haskell-sandi/haskell-sandi.info6
2 files changed, 12 insertions, 4 deletions
diff --git a/haskell/haskell-sandi/haskell-sandi.SlackBuild b/haskell/haskell-sandi/haskell-sandi.SlackBuild
index 557bc80aec26..ee7045f66a0a 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 \
diff --git a/haskell/haskell-sandi/haskell-sandi.info b/haskell/haskell-sandi/haskell-sandi.info
index 2f8fdbbcbbef..8b429f98ba4d 100644
--- a/haskell/haskell-sandi/haskell-sandi.info
+++ b/haskell/haskell-sandi/haskell-sandi.info
@@ -1,8 +1,8 @@
PRGNAM="haskell-sandi"
-VERSION="0.4.2"
+VERSION="0.5"
HOMEPAGE="https://hackage.haskell.org/package/sandi"
-DOWNLOAD="https://hackage.haskell.org/package/sandi-0.4.2/sandi-0.4.2.tar.gz"
-MD5SUM="9244da9791e2403eb01f3793284d623e"
+DOWNLOAD="https://hackage.haskell.org/package/sandi-0.5/sandi-0.5.tar.gz"
+MD5SUM="575dcf2f50180f758900c3bb4b606294"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="haskell-conduit haskell-exceptions haskell-stringsearch"