diff options
Diffstat (limited to 'desktop/xfce4-wavelan-plugin')
-rw-r--r-- | desktop/xfce4-wavelan-plugin/xfce4-wavelan-plugin.SlackBuild | 22 | ||||
-rw-r--r-- | desktop/xfce4-wavelan-plugin/xfce4-wavelan-plugin.info | 6 |
2 files changed, 19 insertions, 9 deletions
diff --git a/desktop/xfce4-wavelan-plugin/xfce4-wavelan-plugin.SlackBuild b/desktop/xfce4-wavelan-plugin/xfce4-wavelan-plugin.SlackBuild index fa20a0d975..ef94a7ebaa 100644 --- a/desktop/xfce4-wavelan-plugin/xfce4-wavelan-plugin.SlackBuild +++ b/desktop/xfce4-wavelan-plugin/xfce4-wavelan-plugin.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for xfce4-wavelan-plugin # -# Copyright 2015-2017 Brenton Earl <brent@exitstatusone.com> +# Copyright 2015-2017, 2020 Brenton Earl <brent@exitstatusone.com> # 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=xfce4-wavelan-plugin -VERSION=${VERSION:-0.6.0} +VERSION=${VERSION:-0.6.2} 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} @@ -87,7 +97,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog NEWS THANKS COPYING README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog NEWS THANKS COPYING README* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install @@ -95,4 +105,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/desktop/xfce4-wavelan-plugin/xfce4-wavelan-plugin.info b/desktop/xfce4-wavelan-plugin/xfce4-wavelan-plugin.info index 649695c5cc..bca0354052 100644 --- a/desktop/xfce4-wavelan-plugin/xfce4-wavelan-plugin.info +++ b/desktop/xfce4-wavelan-plugin/xfce4-wavelan-plugin.info @@ -1,8 +1,8 @@ PRGNAM="xfce4-wavelan-plugin" -VERSION="0.6.0" +VERSION="0.6.2" HOMEPAGE="https://goodies.xfce.org/" -DOWNLOAD="https://archive.xfce.org/src/panel-plugins/xfce4-wavelan-plugin/0.6/xfce4-wavelan-plugin-0.6.0.tar.bz2" -MD5SUM="b163b22f8543e5e5767a68af35c9028e" +DOWNLOAD="https://archive.xfce.org/src/panel-plugins/xfce4-wavelan-plugin/0.6/xfce4-wavelan-plugin-0.6.2.tar.bz2" +MD5SUM="957852f7bfcadc159169bc0125fdf31c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |