aboutsummaryrefslogtreecommitdiff
path: root/system/loksh/loksh.SlackBuild
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2020-10-26 16:35:31 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-31 11:15:44 +0700
commitc213be2b43d0110edef66251dfff82771608fa14 (patch)
treef77213318e9fd66df1270d07bf3d6396374a87c8 /system/loksh/loksh.SlackBuild
parentd780402e60763386a862d6e7f74dcdea4e58fd3a (diff)
system/loksh: Updated for version 6.8.1.
Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/loksh/loksh.SlackBuild')
-rw-r--r--system/loksh/loksh.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/system/loksh/loksh.SlackBuild b/system/loksh/loksh.SlackBuild
index 3720480e916f6..9a57d890d4a27 100644
--- a/system/loksh/loksh.SlackBuild
+++ b/system/loksh/loksh.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=loksh
-VERSION=${VERSION:-6.7.2}
+VERSION=${VERSION:-6.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +59,9 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
+rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -102,9 +102,6 @@ mv -- $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/usr/bin
ln -s /bin/$PRGNAM $PKG/usr/bin/$PRGNAM
-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 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done