diff options
author | Robby Workman <rw@rlworkman.net> | 2010-04-20 00:46:54 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-15 10:38:33 +0200 |
commit | 0b6040200e5e23f40a6c6886ad0ca64bfe515b16 (patch) | |
tree | 341acdbc9ab50623d220412b5d48c2247003b2d3 /network/LimeWire/LimeWire.SlackBuild | |
parent | 376ce3db3fd7c6e65981ee59e64b5ee1af6ce5bd (diff) | |
download | slackbuilds-0b6040200e5e23f40a6c6886ad0ca64bfe515b16.tar.gz |
network/LimeWire: Updated for version 5.5.8.
Diffstat (limited to 'network/LimeWire/LimeWire.SlackBuild')
-rw-r--r-- | network/LimeWire/LimeWire.SlackBuild | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/network/LimeWire/LimeWire.SlackBuild b/network/LimeWire/LimeWire.SlackBuild index 2eb6622fa5..5bda134b0b 100644 --- a/network/LimeWire/LimeWire.SlackBuild +++ b/network/LimeWire/LimeWire.SlackBuild @@ -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 |