clean
This commit is contained in:
parent
9dc4e3c8f3
commit
aed1c05df0
1 changed files with 4 additions and 2 deletions
|
@ -7,7 +7,7 @@ PRGNAM=$(basename $CWD)
|
||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
GITHUB_REPO=racket/racket
|
GITHUB_REPO=racket/racket
|
||||||
VERSION=${VERSION:-$(curl -s https://api.github.com/repos/${GITHUB_REPO}/releases/latest | jq -r .tag_name | sed 's|^v||')}
|
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
|
TAG=gwh
|
||||||
|
|
||||||
OUTPUT=/tmp
|
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
|
$REPOSITORY/racket-${VERSION}-${ARCH}-linux-cs.sh --unix-style --create-dir --dest $PKG$PREFIX
|
||||||
|
|
||||||
# post-install
|
# 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
|
mv $PKG$PREFIX/share/man $PKG$PREFIX
|
||||||
[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \;
|
[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \;
|
||||||
|
|
Loading…
Reference in a new issue