From aed1c05df0ef8405ab65a92e5ea17a6f45761f55 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Sat, 1 Jul 2023 10:43:23 +0200 Subject: [PATCH] clean --- d/racket-lang-bin/SlackBuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/d/racket-lang-bin/SlackBuild b/d/racket-lang-bin/SlackBuild index b111f511..454fc415 100755 --- a/d/racket-lang-bin/SlackBuild +++ b/d/racket-lang-bin/SlackBuild @@ -7,7 +7,7 @@ PRGNAM=$(basename $CWD) ARCH=$(uname -m) GITHUB_REPO=racket/racket VERSION=${VERSION:-$(curl -s https://api.github.com/repos/${GITHUB_REPO}/releases/latest | jq -r .tag_name | sed 's|^v||')} -BUILD=1 +BUILD=3 TAG=gwh OUTPUT=/tmp @@ -30,7 +30,9 @@ chmod +x $REPOSITORY/racket-${VERSION}-${ARCH}-linux-cs.sh $REPOSITORY/racket-${VERSION}-${ARCH}-linux-cs.sh --unix-style --create-dir --dest $PKG$PREFIX # post-install -[ -e $PKG$PREFIX/bin/racket-uninstall ] && rm $PKG$PREFIX/bin/racket-uninstall +rm $PKG$PREFIX/bin/racket-uninstall +mv $PKG$PREFIX/lib/racket/compiled$PKG$PREFIX $PKG$PREFIX/lib/racket/compiled/ +rm -r $PKG$PREFIX/lib/racket/compiled/tmp/ mv $PKG$PREFIX/share/man $PKG$PREFIX [ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \;