diff options
Diffstat (limited to 'network/plowshare-modules')
-rw-r--r-- | network/plowshare-modules/plowshare-modules.SlackBuild | 22 | ||||
-rw-r--r-- | network/plowshare-modules/plowshare-modules.info | 6 |
2 files changed, 19 insertions, 9 deletions
diff --git a/network/plowshare-modules/plowshare-modules.SlackBuild b/network/plowshare-modules/plowshare-modules.SlackBuild index 4f9854d34b..c72438e6ea 100644 --- a/network/plowshare-modules/plowshare-modules.SlackBuild +++ b/network/plowshare-modules/plowshare-modules.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for plowshare-modules -# Copyright 2017-2018 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# Copyright 2017-2022 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> # Copyright 2010 Mikhail Cuddy <mikhailcuddy@gmail.com> # All rights reserved. # @@ -23,16 +23,26 @@ # 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=plowshare-modules -VERSION=${VERSION:-e94a905} +VERSION=${VERSION:-c22e296} SRCNAM=${PRGNAM}-legacy -SRCVER=${MODVER:-e94a9051f54abb66fd3963933587b2d4057a1614} +SRCVER=${MODVER:-c22e2962e26c1fcc539b41a37eaab448828842de} 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} @@ -66,4 +76,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/network/plowshare-modules/plowshare-modules.info b/network/plowshare-modules/plowshare-modules.info index 628166de28..4d2623424a 100644 --- a/network/plowshare-modules/plowshare-modules.info +++ b/network/plowshare-modules/plowshare-modules.info @@ -1,8 +1,8 @@ PRGNAM="plowshare-modules" -VERSION="e94a905" +VERSION="c22e296" HOMEPAGE="https://github.com/mcrapet/plowshare-modules-legacy" -DOWNLOAD="https://github.com/mcrapet/plowshare-modules-legacy/archive/e94a905/plowshare-modules-legacy-e94a9051f54abb66fd3963933587b2d4057a1614.tar.gz" -MD5SUM="d68a47b14ecd201c6f3e4c24c6c30554" +DOWNLOAD="https://github.com/mcrapet/plowshare-modules-legacy/archive/c22e296/plowshare-modules-legacy-c22e2962e26c1fcc539b41a37eaab448828842de.tar.gz" +MD5SUM="4f8b20183bac08d041303340f5b61e51" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="plowshare" |