mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/LimeWire: Updated for version 5.5.8.
This commit is contained in:
parent
376ce3db3f
commit
0b6040200e
2 changed files with 21 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Slackware build script for limewire
|
||||
|
||||
# Copyright 2006-2009 Robby Workman, Northport, AL, USA
|
||||
# Copyright 2006-2010 Robby Workman, Northport, AL, USA
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=LimeWire
|
||||
VERSION=${VERSION:-5.3}
|
||||
VERSION=${VERSION:-5.5.8}
|
||||
ARCH=noarch
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -41,6 +41,23 @@ cd $TMP
|
|||
unzip $CWD/LimeWireOther.zip
|
||||
mv $PRGNAM $PKG/opt
|
||||
|
||||
ZIPVERSION=$(strings $PKG/opt/LimeWire/LimeWire.jar | grep "LimeWire version [0-9]")
|
||||
if [ "$ZIPVERSION" != "LimeWire version $VERSION" ]; then
|
||||
cat << EOF
|
||||
|
||||
This script is made for LimeWire version $VERSION, but the zip archive
|
||||
present in $CWD is $ZIPVERSION.
|
||||
|
||||
This is probably okay - the LimeWire developers frequently release new
|
||||
versions, but the zip archive is not versioned. If you want to continue
|
||||
with the zip archive you have, simply press Enter and we'll carry on.
|
||||
Otherwise, press Ctrl-C to exit.
|
||||
|
||||
EOF
|
||||
read _junk
|
||||
VERSION="$(printf "$ZIPVERSION" | cut -d ' ' -f 3)"
|
||||
fi
|
||||
|
||||
mkdir -p $PKG/usr/bin
|
||||
cat << EOF > $PKG/usr/bin/$PRGNAM
|
||||
#!/bin/sh
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="LimeWire"
|
||||
VERSION="5.3"
|
||||
VERSION="5.5.8"
|
||||
HOMEPAGE="http://www.limewire.com"
|
||||
DOWNLOAD="http://www10.limewire.com/download/LimeWireOther.zip"
|
||||
MD5SUM="831e812c194448a363b4fd1f2173d538"
|
||||
MD5SUM="0a9a415f3dd819ed2a6d6d902270e6cc"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Robby Workman"
|
||||
|
|
Loading…
Reference in a new issue