diff options
Diffstat (limited to 'system/setconf')
-rw-r--r-- | system/setconf/setconf.SlackBuild | 20 | ||||
-rw-r--r-- | system/setconf/setconf.info | 6 |
2 files changed, 18 insertions, 8 deletions
diff --git a/system/setconf/setconf.SlackBuild b/system/setconf/setconf.SlackBuild index f7c65e28d8..14c5f5ded9 100644 --- a/system/setconf/setconf.SlackBuild +++ b/system/setconf/setconf.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for setconf -# Copyright 2017-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2017-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,14 +22,24 @@ # 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=setconf -VERSION=${VERSION:-0.7.6} +VERSION=${VERSION:-0.7.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -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} @@ -61,4 +71,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/setconf/setconf.info b/system/setconf/setconf.info index acce9cf82b..fe6a24cbd7 100644 --- a/system/setconf/setconf.info +++ b/system/setconf/setconf.info @@ -1,8 +1,8 @@ PRGNAM="setconf" -VERSION="0.7.6" +VERSION="0.7.7" HOMEPAGE="http://setconf.roboticoverlords.org/" -DOWNLOAD="http://setconf.roboticoverlords.org/setconf-0.7.6.tar.xz" -MD5SUM="e2119e3ff5f85926a633d09f8cd05426" +DOWNLOAD="http://setconf.roboticoverlords.org/setconf-0.7.7.tar.xz" +MD5SUM="ee72aa823120aa3affcd0ec75667147c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |