summaryrefslogtreecommitdiff
path: root/system/posh
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-10-20 20:35:14 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-10-21 06:47:01 +0700
commita612eac81af4c109fca7c5469d0b0b09b49678b2 (patch)
tree346eb797eaf98745994abc1fca4f8d1758468926 /system/posh
parent6621ce1447f26eb4be667370a5909fc4a556cced (diff)
downloadslackbuilds-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')
-rw-r--r--system/posh/posh.SlackBuild10
-rw-r--r--system/posh/posh.info6
2 files changed, 9 insertions, 7 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
diff --git a/system/posh/posh.info b/system/posh/posh.info
index ffdb9a632d..dc22b8bee3 100644
--- a/system/posh/posh.info
+++ b/system/posh/posh.info
@@ -1,8 +1,8 @@
PRGNAM="posh"
-VERSION="0.13.1"
+VERSION="0.13.2"
HOMEPAGE="https://packages.qa.debian.org/p/posh.html"
-DOWNLOAD="http://http.debian.net/debian/pool/main/p/posh/posh_0.13.1.tar.xz"
-MD5SUM="5503c24830a1c43ce7c31751a60b94aa"
+DOWNLOAD="http://http.debian.net/debian/pool/main/p/posh/posh_0.13.2.tar.xz"
+MD5SUM="d4e4bd477bc68d78442f9967faab2406"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""