From 5fc3050a1ae09d707e8cdba55ac4475abedd686c Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 11 May 2010 19:45:46 +0200 Subject: [PATCH] network/LimeWire: Updated for version 4.16.3 --- network/LimeWire/LimeWire.SlackBuild | 30 +++++++++++++++------------- network/LimeWire/LimeWire.info | 8 ++++---- network/LimeWire/README | 1 - network/LimeWire/doinst.sh | 2 -- network/LimeWire/slack-desc | 19 +++++++++++++----- 5 files changed, 34 insertions(+), 26 deletions(-) diff --git a/network/LimeWire/LimeWire.SlackBuild b/network/LimeWire/LimeWire.SlackBuild index 82f611f72e..e6339c0c62 100644 --- a/network/LimeWire/LimeWire.SlackBuild +++ b/network/LimeWire/LimeWire.SlackBuild @@ -2,10 +2,7 @@ # # Slackware build script for limewire -# This script creates a Slackware package from the official zip -# archive distributed by limewire.com - -# Copyright 2006 Robby Workman (http://rlworkman.net) +# Copyright 2006-2008 Robby Workman, Northport, AL, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,19 +22,17 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified by the SlackBuilds.org project - PRGNAM=LimeWire -VERSION=4.12.11 -ARCH=${ARCH:-i686} # Leave this alone for LimeWire +VERSION=${VERSION:-4.16.3} +ARCH=i686 # Leave this alone for LimeWire BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` + +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# Exit if the script encounters any errors set -e rm -rf $PKG $TMP/$PRGNAM @@ -46,8 +41,12 @@ cd $TMP unzip $CWD/LimeWireOther.zip mv $PRGNAM $PKG/opt/$PRGNAM-$VERSION +# The runlime.sh script included has a DOS line ending in it +fromdos < $PKG/opt/LimeWire-$VERSION/runLime.sh > $TMP/runLime.sh +cat $TMP/runLime.sh > $PKG/opt/LimeWire-$VERSION/runLime.sh + mkdir -p $PKG/usr/bin -cat << "EOF" > $PKG/usr/bin/$PRGNAM +cat << EOF > $PKG/usr/bin/$PRGNAM #!/bin/sh cd /opt/LimeWire ./runLime.sh @@ -63,14 +62,17 @@ chmod 0755 $PKG/usr/bin/LimeWire # Install desktop file and icon install -D -m 0644 $CWD/$PRGNAM.desktop \ $PKG/usr/share/applications/$PRGNAM.desktop -install -D -m 0644 $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png +install -D -m 0644 $CWD/$PRGNAM.png \ + $PKG/usr/share/pixmaps/$PRGNAM.png # Let's not move the docs, but we will add the build script to them install -D -m 0644 $CWD/$PRGNAM.SlackBuild \ $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cd $PKG/usr/doc/$PRGNAM-$VERSION +( cd $PKG/usr/doc/$PRGNAM-$VERSION for FILE in README.txt SOURCE COPYING; do - ln -s ../../../opt/$PRGNAM-$VERSION/$FILE $FILE; done + ln -s /opt/$PRGNAM-$VERSION/$FILE $FILE ; + done +) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/network/LimeWire/LimeWire.info b/network/LimeWire/LimeWire.info index ed80a8752e..91ac81fbff 100644 --- a/network/LimeWire/LimeWire.info +++ b/network/LimeWire/LimeWire.info @@ -1,8 +1,8 @@ PRGNAM="LimeWire" -VERSION="4.12.11" +VERSION="4.16.3" HOMEPAGE="http://www.limewire.com" -DOWNLOAD="http://maverick.limewire.com/download/LimeWireOther.zip" -MD5SUM="f6d3c2e3f8b732fca75208b39b3d5a9f" +DOWNLOAD="http://www10.limewire.com/download/LimeWireOther.zip" +MD5SUM="145f7075675a60a211a6c83db366a38f" MAINTAINER="Robby Workman" EMAIL="rw@rlworkman.net" -APPROVED="BP{k}" +APPROVED="David Somero" diff --git a/network/LimeWire/README b/network/LimeWire/README index 9a93c41465..d6083bc6b8 100644 --- a/network/LimeWire/README +++ b/network/LimeWire/README @@ -5,4 +5,3 @@ Note that the filename of the LimeWireOther.zip file does *not* change with newer releases, so make sure you keep that in mind when you're verifying md5sums; if they don't match, a newer version might have been released. - diff --git a/network/LimeWire/doinst.sh b/network/LimeWire/doinst.sh index 22d4849bce..34be13eb65 100644 --- a/network/LimeWire/doinst.sh +++ b/network/LimeWire/doinst.sh @@ -1,5 +1,3 @@ - if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 fi - diff --git a/network/LimeWire/slack-desc b/network/LimeWire/slack-desc index 4b785d0a99..02cc818f1f 100644 --- a/network/LimeWire/slack-desc +++ b/network/LimeWire/slack-desc @@ -1,10 +1,19 @@ -LimeWire: LimeWire P2P Filesharing Client +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler----------------------------------------------------| +LimeWire: LimeWire (P2P Filesharing Client) LimeWire: -LimeWire: LimeWire is a cross-platform, open-source peer-to-peer filesharing -LimeWire: client. +LimeWire: LimeWire is a cross-platform, open-source peer-to-peer +LimeWire: filesharing client. +LimeWire: +LimeWire: This is essentially a repackaging of the LimeWireOther.zip +LimeWire: file available from http://limewire.com. LimeWire: -LimeWire: This is essentially a repackaging of the LimeWireOther.zip file -LimeWire: available from http://limewire.com. LimeWire: LimeWire: LimeWire: