summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.SlackBuild')
-rw-r--r--haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.SlackBuild b/haskell/haskell-attoparsec-iso8601/haskell-attoparsec-iso8601.SlackBuild
index 64f963deb1..95c0f0d035 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 \