summaryrefslogtreecommitdiff
path: root/source/ap/powertop/powertop.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2018-11-02 20:41:52 +0000
committerEric Hameleers <alien@slackware.com>2018-11-03 08:59:43 +0100
commit0dada1b8719e049f5e3d73034824296a89c4506f (patch)
tree9fd892519aff555e9603a013bf3f5d8b14228975 /source/ap/powertop/powertop.SlackBuild
parent190c4fa1486b1dc8cf82ea8ba06de852489d4e13 (diff)
downloadcurrent-0dada1b8719e049f5e3d73034824296a89c4506f.tar.gz
Fri Nov 2 20:41:52 UTC 201820181102204152
a/haveged-1.9.4-x86_64-1.txz: Upgraded. a/kernel-firmware-20181026_1baa348-noarch-1.txz: Upgraded. a/mcelog-161-x86_64-1.txz: Upgraded. ap/powertop-2.9-x86_64-1.txz: Upgraded. d/clisp-2.49_20180922_228b90a52-x86_64-1.txz: Upgraded. d/mercurial-4.8-x86_64-1.txz: Upgraded. l/fribidi-1.0.5-x86_64-1.txz: Upgraded. l/libjpeg-turbo-2.0.0-x86_64-1.txz: Upgraded. n/lynx-2.8.9rel.1-x86_64-1.txz: Upgraded. t/texlive-2018.180822-x86_64-3.txz: Rebuilt. Rebuilt to recompile xindy for the upgraded CLISP runtime.
Diffstat (limited to 'source/ap/powertop/powertop.SlackBuild')
-rwxr-xr-xsource/ap/powertop/powertop.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/ap/powertop/powertop.SlackBuild b/source/ap/powertop/powertop.SlackBuild
index 999cb2f4..3fc2904c 100755
--- a/source/ap/powertop/powertop.SlackBuild
+++ b/source/ap/powertop/powertop.SlackBuild
@@ -28,8 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=powertop
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -72,7 +72,7 @@ fi
cd $TMP
rm -rf ${PKGNAM}-${VERSION}
-tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z || exit 1
cd ${PKGNAM}-$VERSION || exit 1
# Make sure ownerships and permissions are sane: