diff options
Diffstat (limited to 'system/pspg')
-rw-r--r-- | system/pspg/pspg.SlackBuild | 18 | ||||
-rw-r--r-- | system/pspg/pspg.info | 6 |
2 files changed, 17 insertions, 7 deletions
diff --git a/system/pspg/pspg.SlackBuild b/system/pspg/pspg.SlackBuild index 4ec4d2b978..435e24d395 100644 --- a/system/pspg/pspg.SlackBuild +++ b/system/pspg/pspg.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for pspg @@ -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=pspg -VERSION=${VERSION:-4.0.0} +VERSION=${VERSION:-5.0.5} 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} @@ -90,4 +100,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc 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/pspg/pspg.info b/system/pspg/pspg.info index 978e4123a5..fc4aaf7f1c 100644 --- a/system/pspg/pspg.info +++ b/system/pspg/pspg.info @@ -1,8 +1,8 @@ PRGNAM="pspg" -VERSION="4.0.0" +VERSION="5.0.5" HOMEPAGE="https://github.com/okbob/pspg" -DOWNLOAD="https://github.com/okbob/pspg/archive/4.0.0/pspg-4.0.0.tar.gz" -MD5SUM="05bee8a0945ccf67b5b07277f1debe44" +DOWNLOAD="https://github.com/okbob/pspg/archive/5.0.5/pspg-5.0.5.tar.gz" +MD5SUM="3d5dbb43f756e386b0e50e91593ae9b0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |