summaryrefslogtreecommitdiff
path: root/system/mksh/mksh.SlackBuild
diff options
context:
space:
mode:
authorMarkus Reichelt <slackbuilds@mareichelt.de>2013-12-26 21:09:07 +0100
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:13:05 -0600
commit17af9762056ddc8ab2346337426b47d7ebec4ccc (patch)
tree2a5eac141524e4d46470be51c6afed9932153921 /system/mksh/mksh.SlackBuild
parent83879bf08c64f156f1e782281be90db17b4130b2 (diff)
downloadslackbuilds-17af9762056ddc8ab2346337426b47d7ebec4ccc.tar.gz
system/mksh: Updated for version R48b.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/mksh/mksh.SlackBuild')
-rw-r--r--system/mksh/mksh.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/mksh/mksh.SlackBuild b/system/mksh/mksh.SlackBuild
index 5bf80d5a50..b35c8884b6 100644
--- a/system/mksh/mksh.SlackBuild
+++ b/system/mksh/mksh.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mksh
-# Copyright (c) 2011-2013 Markus Reichelt, Stolberg (Rhld), DE
+# Copyright (c) 2011-2013 Markus Reichelt, Stolberg (Rhld.), DE
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -26,7 +26,7 @@
# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
PRGNAM=mksh
-VERSION=${VERSION:-R46}
+VERSION=${VERSION:-R48b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -96,15 +96,16 @@ CC=$CC \
ginstall -D -m 755 mksh $PKG/bin/mksh
ginstall -D -m 644 ../mksh.1 $PKG/usr/man/man1/mksh.1
-ginstall -D -m 644 ../dot.mkshrc $PKG/etc/skel/.mkshrc
+ginstall -D -m 644 ../dot.mkshrc $PKG/etc/skel/.mkshrc.new
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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 $CWD/TaC-mksh.txt > $PKG/usr/doc/$PRGNAM-$VERSION/TaC-mksh.txt
+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