diff options
Diffstat (limited to 'system/posh/posh.SlackBuild')
-rw-r--r-- | system/posh/posh.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/system/posh/posh.SlackBuild b/system/posh/posh.SlackBuild index 0e22a2b0e9a72..fee476fe28913 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} |