aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-stringsearch
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-01-07 13:49:03 +1300
committerAndrew Clemons <andrew.clemons@gmail.com>2022-01-17 18:13:48 +1300
commitf8c01e0cd54720d389e71820bfbedc2628903162 (patch)
tree7b2efdc6c2b53d834fcc3feff48acd41daa95ab9 /haskell/haskell-stringsearch
parentfd1cdc4a110073a8bd6f4454e08f240e3f78fc44 (diff)
haskell/haskell-stringsearch: Fix building on -current.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'haskell/haskell-stringsearch')
-rw-r--r--haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild3
-rw-r--r--haskell/haskell-stringsearch/haskell-stringsearch.info6
2 files changed, 6 insertions, 3 deletions
diff --git a/haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild b/haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild
index 84aedb8b2d17e..3ef081b5febc7 100644
--- a/haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild
+++ b/haskell/haskell-stringsearch/haskell-stringsearch.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=haskell-stringsearch
VERSION=${VERSION:-0.3.6.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,6 +76,7 @@ cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
+cat $CWD/1.cabal > $SRCNAM.cabal
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-stringsearch/haskell-stringsearch.info b/haskell/haskell-stringsearch/haskell-stringsearch.info
index 986b39f3f63dc..d817065f17af8 100644
--- a/haskell/haskell-stringsearch/haskell-stringsearch.info
+++ b/haskell/haskell-stringsearch/haskell-stringsearch.info
@@ -1,8 +1,10 @@
PRGNAM="haskell-stringsearch"
VERSION="0.3.6.6"
HOMEPAGE="https://hackage.haskell.org/package/stringsearch"
-DOWNLOAD="https://hackage.haskell.org/package/stringsearch-0.3.6.6/stringsearch-0.3.6.6.tar.gz"
-MD5SUM="b7455a2d8462a55631e261e2981e1bce"
+DOWNLOAD="https://hackage.haskell.org/package/stringsearch-0.3.6.6/stringsearch-0.3.6.6.tar.gz \
+ https://hackage.haskell.org/package/stringsearch-0.3.6.6/revision/1.cabal"
+MD5SUM="b7455a2d8462a55631e261e2981e1bce \
+ 83b8823048c13f6052c0df4f73e4f3de"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ghc"