diff options
Diffstat (limited to 'graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild')
-rw-r--r-- | graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild b/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild index 7f4ea08ba7..473ccbe6d3 100644 --- a/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild +++ b/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for gimp-plugin-export-layers -# Copyright 2018 - 2019 Andrew Strong, Blue Mountains, Australia. +# Copyright 2018 - 2023 Andrew Strong, Blue Mountains, Australia. # 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=gimp-plugin-export-layers -VERSION=${VERSION:-3.3.1} +VERSION=${VERSION:-3.3.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=export_layers @@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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 +97,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 |