From 1a6e6cfbf21ad497583edc1e19151ca68082a039 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Mon, 15 Aug 2022 19:59:05 +0900 Subject: haskell/haskell-witherable: Fix DOWNLOAD. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- haskell/haskell-witherable/haskell-witherable.SlackBuild | 7 +++---- haskell/haskell-witherable/haskell-witherable.info | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'haskell') diff --git a/haskell/haskell-witherable/haskell-witherable.SlackBuild b/haskell/haskell-witherable/haskell-witherable.SlackBuild index 5b1f847a03..e700e97040 100644 --- a/haskell/haskell-witherable/haskell-witherable.SlackBuild +++ b/haskell/haskell-witherable/haskell-witherable.SlackBuild @@ -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 \ diff --git a/haskell/haskell-witherable/haskell-witherable.info b/haskell/haskell-witherable/haskell-witherable.info index 9798d343a1..ad0e199254 100644 --- a/haskell/haskell-witherable/haskell-witherable.info +++ b/haskell/haskell-witherable/haskell-witherable.info @@ -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="" -- cgit v1.2.3