system/mksh: Updated for version R50d.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Markus Reichelt 2014-12-29 23:45:14 +07:00 committed by Willy Sudiarto Raharjo
parent 27896b6474
commit a6f7c2845f
2 changed files with 10 additions and 10 deletions

View file

@ -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

View file

@ -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=""