aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/mksh/mksh.SlackBuild14
-rw-r--r--system/mksh/mksh.info6
2 files changed, 10 insertions, 10 deletions
diff --git a/system/mksh/mksh.SlackBuild b/system/mksh/mksh.SlackBuild
index 2fb4fb61fd766..4669f65c3aea7 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
diff --git a/system/mksh/mksh.info b/system/mksh/mksh.info
index d56e7b695e6bb..f8347c6238646 100644
--- a/system/mksh/mksh.info
+++ b/system/mksh/mksh.info
@@ -1,8 +1,8 @@
PRGNAM="mksh"
-VERSION="R50b"
+VERSION="R50d"
HOMEPAGE="http://mirbsd.de/mksh"
-DOWNLOAD="http://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R50b.tgz"
-MD5SUM="1821a40dacc44293d7325c6021952b69"
+DOWNLOAD="http://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R50d.tgz"
+MD5SUM="1c3882c07a760b23df1ad94ad0b4ed2e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""