summaryrefslogtreecommitdiff
path: root/libraries/batinfo/batinfo.SlackBuild
diff options
context:
space:
mode:
authorPhilip Lacroix <slackph at posteo dot de>2017-02-11 23:28:17 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-02-11 23:28:17 +0000
commit88baa1043953d163aa6e12d2f83b734491e5c692 (patch)
treec7b1ca741a838937d6fc49351a7026371385d0dc /libraries/batinfo/batinfo.SlackBuild
parent19e334c1be59130fdee8d9330ccad89712cbe5c7 (diff)
downloadslackbuilds-88baa1043953d163aa6e12d2f83b734491e5c692.tar.gz
libraries/batinfo: Updated for version 0.4.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/batinfo/batinfo.SlackBuild')
-rw-r--r--libraries/batinfo/batinfo.SlackBuild17
1 files changed, 5 insertions, 12 deletions
diff --git a/libraries/batinfo/batinfo.SlackBuild b/libraries/batinfo/batinfo.SlackBuild
index b0a137c5f9..85c64f7d6d 100644
--- a/libraries/batinfo/batinfo.SlackBuild
+++ b/libraries/batinfo/batinfo.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for batinfo
-# Copyright 2015 Philip Lacroix <slackph at posteo dot de>
+# Copyright 2015-2017 Philip Lacroix <slackph at posteo dot de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=batinfo
-VERSION=${VERSION:-0.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.4.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -46,14 +46,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-
-# The upstream tarball will be named differently, depending on
-# the file being downloaded manually (web browser) or with wget.
-if [ -e $CWD/v$VERSION.tar.gz ]; then
- tar xvzf $CWD/v$VERSION.tar.gz
-else
- tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
-fi
+tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .