From 622013ef25a2773af13a917e938da9aa186b0e9d Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 17 Nov 2022 11:45:58 +0100 Subject: [PATCH] [ghcup-bin] binary name Signed-off-by: Gwenhael Le Moine --- d/ghcup-bin/SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/d/ghcup-bin/SlackBuild b/d/ghcup-bin/SlackBuild index 0450076b..93dfec6c 100755 --- a/d/ghcup-bin/SlackBuild +++ b/d/ghcup-bin/SlackBuild @@ -7,7 +7,7 @@ CWD=$(pwd) PRGNAM=$(basename $CWD) VERSION=${VERSION:-$(curl -s "https://gitlab.haskell.org/haskell/ghcup-hs/-/tags?format=atom" | grep "title>v" | head -n1 | grep -o "[0-9rc.-]*")} ARCH=$(uname -m) -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-gwh} TMP=${TMP:-/tmp/$TAG} PKG=$TMP/pkg-$PRGNAM @@ -22,8 +22,8 @@ mkdir -p $REPOSITORY rm -fr $PKG mkdir -p $PKG/usr/bin -cp $REPOSITORY/${PRGNAM}-${VERSION} $PKG/usr/bin/$PRGNAM -chmod 0755 $PKG/usr/bin/$PRGNAM +cp $REPOSITORY/${PRGNAM}-${VERSION} $PKG/usr/bin/ghcup +chmod 0755 $PKG/usr/bin/ghcup mkdir -p $PKG/install