aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-01-06 14:28:47 +1300
committerAndrew Clemons <andrew.clemons@gmail.com>2022-01-17 18:13:46 +1300
commitb71a8c6f390e83e3d71234010954bc2ab83c0fac (patch)
tree77f0178f0702502fe756cfdc1113937ae428707b
parent455558710cec5117c025db7bdfa4effbfd61a2c4 (diff)
haskell/haskell-attoparsec-iso8601: Updated for version 1.0.2.1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
-rw-r--r--haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.SlackBuild10
-rw-r--r--haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.info8
2 files changed, 13 insertions, 5 deletions
diff --git a/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.SlackBuild b/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.SlackBuild
index 64f963deb1bc2..95c0f0d035699 100644
--- a/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.SlackBuild
+++ b/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=haskell-attoparsec-iso8601
-VERSION=${VERSION:-1.0.1.0}
+VERSION=${VERSION:-1.0.2.1}
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-attoparsec-iso8601/haskell-attoparsec-iso8601.info b/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.info
index ffff9a66e33c3..701c781759e9b 100644
--- a/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.info
+++ b/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.info
@@ -1,10 +1,10 @@
PRGNAM="haskell-attoparsec-iso8601"
-VERSION="1.0.1.0"
+VERSION="1.0.2.1"
HOMEPAGE="https://hackage.haskell.org/package/attoparsec-iso8601"
-DOWNLOAD="https://hackage.haskell.org/packages/archive/attoparsec-iso8601/1.0.1.0/attoparsec-iso8601-1.0.1.0.tar.gz"
-MD5SUM="af5ed13c32e07587aa63f3d21d99db13"
+DOWNLOAD="https://hackage.haskell.org/packages/archive/attoparsec-iso8601/1.0.2.1/attoparsec-iso8601-1.0.2.1.tar.gz"
+MD5SUM="e1c712a9829959b4128db8b117687d40"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="haskell-attoparsec haskell-base-compat"
+REQUIRES="haskell-attoparsec haskell-base-compat-batteries haskell-time-compat"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"