mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
libraries/batinfo: Updated for version 0.4.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
36c2c3312a
commit
33fb25c3bf
2 changed files with 8 additions and 15 deletions
|
@ -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
|
||||
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="batinfo"
|
||||
VERSION="0.3"
|
||||
VERSION="0.4.2"
|
||||
HOMEPAGE="https://github.com/nicolargo/batinfo"
|
||||
DOWNLOAD="https://github.com/nicolargo/batinfo/archive/v0.3.tar.gz"
|
||||
MD5SUM="90d1672be9999f728ee9914d3a055b19"
|
||||
DOWNLOAD="https://github.com/nicolargo/batinfo/archive/v0.4.2/batinfo-0.4.2.tar.gz"
|
||||
MD5SUM="99cc2242a654ab41bc513dfc730e86a0"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue