summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Robby Workman2010-04-20 07:46:54 +0200
committer Erik Hanson2010-05-15 10:38:33 +0200
commit0b6040200e5e23f40a6c6886ad0ca64bfe515b16 (patch)
tree341acdbc9ab50623d220412b5d48c2247003b2d3
parent376ce3db3fd7c6e65981ee59e64b5ee1af6ce5bd (diff)
downloadslackbuilds-0b6040200e5e23f40a6c6886ad0ca64bfe515b16.tar.gz
network/LimeWire: Updated for version 5.5.8.
-rw-r--r--network/LimeWire/LimeWire.SlackBuild21
-rw-r--r--network/LimeWire/LimeWire.info4
2 files changed, 21 insertions, 4 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
diff --git a/network/LimeWire/LimeWire.info b/network/LimeWire/LimeWire.info
index 5be9c442bd..7b39679219 100644
--- a/network/LimeWire/LimeWire.info
+++ b/network/LimeWire/LimeWire.info
@@ -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"