summaryrefslogtreecommitdiff
path: root/development/racket/racket.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-13 11:24:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-13 11:24:06 +0700
commit365c2989aafac9bafedf80069175b09a122e16e2 (patch)
tree13f304dd41032d9b01fbaf83454e94ab4d33eced /development/racket/racket.SlackBuild
parent81cf83cb33bb096d7563b0963f2a0108395d2fae (diff)
downloadslackbuilds-365c2989aafac9bafedf80069175b09a122e16e2.tar.gz
development/racket: Script cleanup and fix typo.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/racket/racket.SlackBuild')
-rw-r--r--development/racket/racket.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/development/racket/racket.SlackBuild b/development/racket/racket.SlackBuild
index 41ab1ef8c4..d6986812f8 100644
--- a/development/racket/racket.SlackBuild
+++ b/development/racket/racket.SlackBuild
@@ -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}
-
-