aboutsummaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
Diffstat (limited to 'haskell')
-rw-r--r--haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild11
-rw-r--r--haskell/haskell-regex-tdfa/haskell-regex-tdfa.info8
2 files changed, 15 insertions, 4 deletions
diff --git a/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild b/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild
index c0a34ccc3eb6d..f1ce109b960b5 100644
--- a/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild
+++ b/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=haskell-regex-tdfa
-VERSION=${VERSION:-1.2.3.1}
+VERSION=${VERSION:-1.3.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,6 +76,15 @@ cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
+cat $CWD/2.cabal > $SRCNAM.cabal
+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-regex-tdfa/haskell-regex-tdfa.info b/haskell/haskell-regex-tdfa/haskell-regex-tdfa.info
index df39ec5b163ed..f169b482a9b75 100644
--- a/haskell/haskell-regex-tdfa/haskell-regex-tdfa.info
+++ b/haskell/haskell-regex-tdfa/haskell-regex-tdfa.info
@@ -1,8 +1,10 @@
PRGNAM="haskell-regex-tdfa"
-VERSION="1.2.3.1"
+VERSION="1.3.1.1"
HOMEPAGE="https://hackage.haskell.org/package/regex-tdfa"
-DOWNLOAD="https://hackage.haskell.org/package/regex-tdfa-1.2.3.1/regex-tdfa-1.2.3.1.tar.gz"
-MD5SUM="1e5cecff91ccc67666c9423850b15d56"
+DOWNLOAD="https://hackage.haskell.org/package/regex-tdfa-1.3.1.1/regex-tdfa-1.3.1.1.tar.gz \
+ https://hackage.haskell.org/package/regex-tdfa-1.3.1.1/revision/2.cabal"
+MD5SUM="9599452c5123eeb8e402e0fe6ad9bbd8 \
+ 945fb292818abc8c72c3e24e8f5f9598"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="haskell-regex-base haskell-semigroups"