summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-sandi
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2022-01-07 21:48:21 +1300
committer Andrew Clemons <andrew.clemons@gmail.com>2022-01-17 18:13:51 +1300
commit935463051f0310d09a2624a4d426032cd2ce12a9 (patch)
treed6fe8a9e8813179400b707ebaa4806d37cb7c0fb /haskell/haskell-sandi
parent5bdbd0c567488c6d9bc60b6002a9ab40b2aec7fa (diff)
downloadslackbuilds-935463051f0310d09a2624a4d426032cd2ce12a9.tar.gz
slackbuilds-935463051f0310d09a2624a4d426032cd2ce12a9.tar.xz
haskell/haskell-sandi: Updated for version 0.5.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'haskell/haskell-sandi')
-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 557bc80aec..ee7045f66a 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 2f8fdbbcbb..8b429f98ba 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"