haskell/haskell-witherable: Fix DOWNLOAD.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-08-15 19:59:05 +09:00 committed by Willy Sudiarto Raharjo
parent a0b4d61246
commit 1a6e6cfbf2
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 4 additions and 5 deletions

View file

@ -3,6 +3,7 @@
# Slackware build script for haskell-witherable
# Copyright 2021 Andrew Clemons, Wellington New Zealand
# Copyright 2022 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -26,6 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=haskell-witherable
VERSION=${VERSION:-0.4.2}
CABAL_REVISION=${CABAL_REVISION:-2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -42,9 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -76,7 +75,7 @@ cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
cat $CWD/$SRCNAM.cabal > $SRCNAM.cabal
cat $CWD/$CABAL_REVISION.cabal > $SRCNAM.cabal
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

View file

@ -2,7 +2,7 @@ PRGNAM="haskell-witherable"
VERSION="0.4.2"
HOMEPAGE="https://hackage.haskell.org/package/witherable"
DOWNLOAD="https://hackage.haskell.org/package/witherable-0.4.2/witherable-0.4.2.tar.gz \
https://hackage.haskell.org/package/witherable-0.4.2/witherable.cabal"
https://hackage.haskell.org/package/witherable-0.4.2/revision/2.cabal"
MD5SUM="c5f0d20fe135ab5fd081401080aa82f8 \
1fec8f7279cfe870ec8d2fb7fdb7d480"
DOWNLOAD_x86_64=""