diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-11 19:45:46 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 19:45:46 +0200 |
commit | 5fc3050a1ae09d707e8cdba55ac4475abedd686c (patch) | |
tree | 43098794407e04c528c0df3486922e4802bc203f /network/LimeWire/LimeWire.SlackBuild | |
parent | bdbc123734571ed93be969564cabcdb4ce91b3d5 (diff) | |
download | slackbuilds-5fc3050a1ae09d707e8cdba55ac4475abedd686c.tar.gz |
network/LimeWire: Updated for version 4.16.3
Diffstat (limited to 'network/LimeWire/LimeWire.SlackBuild')
-rw-r--r-- | network/LimeWire/LimeWire.SlackBuild | 30 |
1 files changed, 16 insertions, 14 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 |