haskell/haskell-stringsearch: Fix building on -current.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
Andrew Clemons 2022-01-07 13:49:03 +13:00
parent fd1cdc4a11
commit f8c01e0cd5
No known key found for this signature in database
GPG Key ID: CD26380FFACBDA2B
2 changed files with 6 additions and 3 deletions

View File

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=haskell-stringsearch PRGNAM=haskell-stringsearch
VERSION=${VERSION:-0.3.6.6} VERSION=${VERSION:-0.3.6.6}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -76,6 +76,7 @@ cd $TMP
rm -rf $SRCNAM-$VERSION rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION cd $SRCNAM-$VERSION
cat $CWD/1.cabal > $SRCNAM.cabal
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

View File

@ -1,8 +1,10 @@
PRGNAM="haskell-stringsearch" PRGNAM="haskell-stringsearch"
VERSION="0.3.6.6" VERSION="0.3.6.6"
HOMEPAGE="https://hackage.haskell.org/package/stringsearch" 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" DOWNLOAD="https://hackage.haskell.org/package/stringsearch-0.3.6.6/stringsearch-0.3.6.6.tar.gz \
MD5SUM="b7455a2d8462a55631e261e2981e1bce" https://hackage.haskell.org/package/stringsearch-0.3.6.6/revision/1.cabal"
MD5SUM="b7455a2d8462a55631e261e2981e1bce \
83b8823048c13f6052c0df4f73e4f3de"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="ghc" REQUIRES="ghc"