diff options
author | Hunter Sezen <orbea@fredslev.dk> | 2018-10-20 20:35:14 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-10-21 06:47:01 +0700 |
commit | a612eac81af4c109fca7c5469d0b0b09b49678b2 (patch) | |
tree | 346eb797eaf98745994abc1fca4f8d1758468926 /system/posh/posh.SlackBuild | |
parent | 6621ce1447f26eb4be667370a5909fc4a556cced (diff) | |
download | slackbuilds-a612eac81af4c109fca7c5469d0b0b09b49678b2.tar.gz |
system/posh: Updated for version 0.13.2.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'system/posh/posh.SlackBuild')
-rw-r--r-- | system/posh/posh.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/system/posh/posh.SlackBuild b/system/posh/posh.SlackBuild index 278a5f42a3..0e22a2b0e9 100644 --- a/system/posh/posh.SlackBuild +++ b/system/posh/posh.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=posh -VERSION=${VERSION:-0.13.1} +VERSION=${VERSION:-0.13.2} 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 \ @@ -69,6 +69,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +autoreconf -fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -81,7 +83,7 @@ make make install DESTDIR=$PKG mkdir -p $PKG/usr/bin -ln -s /bin/posh $PKG/usr/bin/posh +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 |