system/powerpanel: Updated for version 1.3.3.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Jason Graham 2020-10-23 21:12:37 +07:00 committed by Willy Sudiarto Raharjo
parent 26f6059e11
commit ef4dc4f324
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 11 additions and 12 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for powerpanel # Slackware build script for powerpanel
# Copyright 2017 Jason Graham Baltimore, MD, USA # Copyright 2017,2020 Jason Graham <jgraham@compukix.net> MD, USA
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=powerpanel PRGNAM=powerpanel
VERSION=${VERSION:-1.3.2} VERSION=${VERSION:-1.3.3}
PKGVER=${VERSION//./}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -37,9 +36,9 @@ if [ -z "$ARCH" ]; then
fi fi
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
PKGARCH=i386 PKGARCH=32
elif [ "$ARCH" = "x86_64" ]; then elif [ "$ARCH" = "x86_64" ]; then
PKGARCH=x86_64 PKGARCH=64
else else
printf "$ARCH is not supported.\n"; exit 1 printf "$ARCH is not supported.\n"; exit 1
fi fi
@ -55,7 +54,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$PKGVER-$PKGARCH.tar.gz tar xvf $CWD/PPL-$VERSION-${PKGARCH}bit.tar.gz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \

View File

@ -1,10 +1,10 @@
PRGNAM="powerpanel" PRGNAM="powerpanel"
VERSION="1.3.2" VERSION="1.3.3"
HOMEPAGE="https://www.cyberpowersystems.com/products/software/power-panel-personal/" HOMEPAGE="https://www.cyberpowersystems.com/products/software/power-panel-personal/"
DOWNLOAD="https://dl4jz3rbrsfum.cloudfront.net/software/powerpanel-132-i386.tar.gz" DOWNLOAD="https://dl4jz3rbrsfum.cloudfront.net/software/PPL-1.3.3-32bit.tar.gz"
MD5SUM="833f35179a8b0ca303698de08f048c8b" MD5SUM="56a53554cbf523617c447f426521bf75"
DOWNLOAD_x86_64="https://dl4jz3rbrsfum.cloudfront.net/software/powerpanel-132-x86_64.tar.gz" DOWNLOAD_x86_64="https://dl4jz3rbrsfum.cloudfront.net/software/PPL-1.3.3-64bit.tar.gz"
MD5SUM_x86_64="d69233e117f92611931cb820bad141df" MD5SUM_x86_64="d0af21f2e3f654a4813701932bb2fd2e"
REQUIRES="" REQUIRES=""
MAINTAINER="Jason Graham" MAINTAINER="Jason Graham"
EMAIL="jgraha8@gmail.com" EMAIL="jgraham@compukix.net"