aboutsummaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-12-19 21:38:34 +1300
committerAndrew Clemons <andrew.clemons@gmail.com>2022-01-17 18:13:45 +1300
commitaa07cd33a566f00ac760b3fce0aabd82a0340e9e (patch)
tree5443d380fb32c1f3160e8d0a49d1d3224f3daa10 /haskell
parente84dad471bb3e3ac325c8a52185250ad1599afe0 (diff)
haskell/haskell-regex-tdfa: Updated for version 1.3.1.1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
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"