summaryrefslogtreecommitdiff
path: root/system/mksh
diff options
context:
space:
mode:
authorMarkus Reichelt <mr@mareichelt.com>2014-12-29 23:45:14 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-29 23:45:14 +0700
commita6f7c2845fcf0bb0679b7d1578eef31e2df2fa2e (patch)
tree0d971da6f8c733db5b2d6eb7655dab266f10bb4f /system/mksh
parent27896b6474eb704239fc4ad0c2b146c278e6ebb0 (diff)
downloadslackbuilds-a6f7c2845fcf0bb0679b7d1578eef31e2df2fa2e.tar.gz
system/mksh: Updated for version R50d.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/mksh')
-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 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
diff --git a/system/mksh/mksh.info b/system/mksh/mksh.info
index d56e7b695e..f8347c6238 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=""