aboutsummaryrefslogtreecommitdiff
path: root/system/posh/posh.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2019-02-08 20:55:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-02-08 20:55:26 +0700
commit5b6792910552a5abe9f81bd68c6eaf0f0baafb81 (patch)
treef2976046d841c032f7ef5abf08bc579137b50823 /system/posh/posh.SlackBuild
parent329245f397a3551f5eb2040c9f8edac62483da83 (diff)
system/posh: Added doinst.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/posh/posh.SlackBuild')
-rw-r--r--system/posh/posh.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/posh/posh.SlackBuild b/system/posh/posh.SlackBuild
index 0e22a2b0e9a7..fee476fe2891 100644
--- a/system/posh/posh.SlackBuild
+++ b/system/posh/posh.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for posh
-# Copyright 2017-2018 Hunter Sezen California, USA
+# Copyright 2017-2019 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=posh
VERSION=${VERSION:-0.13.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -85,8 +85,8 @@ make install DESTDIR=$PKG
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 -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
@@ -97,6 +97,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}