summaryrefslogtreecommitdiffstats
path: root/system/posh
diff options
context:
space:
mode:
Diffstat (limited to 'system/posh')
-rw-r--r--system/posh/posh.SlackBuild22
-rw-r--r--system/posh/posh.info6
2 files changed, 19 insertions, 9 deletions
diff --git a/system/posh/posh.SlackBuild b/system/posh/posh.SlackBuild
index fee476fe28..207b632368 100644
--- a/system/posh/posh.SlackBuild
+++ b/system/posh/posh.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for posh
-# Copyright 2017-2019 Hunter Sezen California, USA
+# Copyright 2017-2020 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=posh
-VERSION=${VERSION:-0.13.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.14.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/posh/posh.info b/system/posh/posh.info
index 408fe5a053..5867da639a 100644
--- a/system/posh/posh.info
+++ b/system/posh/posh.info
@@ -1,8 +1,8 @@
PRGNAM="posh"
-VERSION="0.13.2"
+VERSION="0.14.1"
HOMEPAGE="https://packages.qa.debian.org/p/posh.html"
-DOWNLOAD="http://http.debian.net/debian/pool/main/p/posh/posh_0.13.2.tar.xz"
-MD5SUM="d4e4bd477bc68d78442f9967faab2406"
+DOWNLOAD="http://http.debian.net/debian/pool/main/p/posh/posh_0.14.1.tar.xz"
+MD5SUM="71f482c9a8815f209abf6ac134543bc9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""