development/racket: Script cleanup and fix typo.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-03-13 11:24:06 +07:00
parent 81cf83cb33
commit 365c2989aa
2 changed files with 5 additions and 8 deletions

View file

@ -4,4 +4,4 @@ serve as a platform for language creation, design, and implementation. The
language is used in a variety of contexts such as scripting, general-purpose
programming, computer science education, and research. (source: Wikipedia)
racket is the commandlineversion, drracket is the GUI-version
racket is the command line version, drracket is the GUI-version

View file

@ -68,7 +68,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -92,15 +92,12 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
cd ..
# store the Slackware related README and the SlackBuild-script in a separate directory
mkdir $PKG/usr/doc/$PRGNAM-$VERSION/Slackware
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/Slackware/README
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/Slackware/$PRGNAM.SlackBuild
mkdir $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}