diff options
Diffstat (limited to 'system/mksh/mksh.SlackBuild')
-rw-r--r-- | system/mksh/mksh.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/system/mksh/mksh.SlackBuild b/system/mksh/mksh.SlackBuild index 2fb4fb61fd..4669f65c3a 100644 --- a/system/mksh/mksh.SlackBuild +++ b/system/mksh/mksh.SlackBuild @@ -26,7 +26,7 @@ # Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115 PRGNAM=mksh -VERSION=${VERSION:-R50b} +VERSION=${VERSION:-R50d} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -83,7 +83,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 {} \; mkdir build cd build @@ -94,20 +94,20 @@ CFLAGS=$SLKCFLAGS \ CC=$CC \ sh ../Build.sh -r -c lto +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/man/man1 $PKG/install + ginstall -D -m 755 mksh $PKG/bin/mksh -ginstall -D -m 644 ../mksh.1 $PKG/usr/man/man1/mksh.1 +ginstall -D -m 644 ../*.1 $PKG/usr/man/man1/ ginstall -D -m 644 ../dot.mkshrc $PKG/etc/skel/.mkshrc.new find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find $PKG/usr/man -type f -exec gzip -9 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat ../dot.mkshrc > $PKG/usr/doc/$PRGNAM-$VERSION/dot.mkshrc cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -mkdir -p $PKG/install +find $PKG/usr/man -type f -exec gzip -9 {} \; + cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh |