summaryrefslogtreecommitdiff
path: root/network/LimeWire/LimeWire.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-11 22:25:02 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 22:25:02 +0200
commite5238e08f21729f7ebd6e80db27ec20ac8cbc8ee (patch)
tree1d714f9a671c9846799244bc36dd7cc3ebfbdb6f /network/LimeWire/LimeWire.SlackBuild
parent56c9ce3c90dacb8404ecc2f5460e0c8404ec5b02 (diff)
downloadslackbuilds-e5238e08f21729f7ebd6e80db27ec20ac8cbc8ee.tar.gz
network/LimeWire: Updated for version 4.18.3
Diffstat (limited to 'network/LimeWire/LimeWire.SlackBuild')
-rw-r--r--network/LimeWire/LimeWire.SlackBuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/network/LimeWire/LimeWire.SlackBuild b/network/LimeWire/LimeWire.SlackBuild
index e6339c0c62..d2edb1e673 100644
--- a/network/LimeWire/LimeWire.SlackBuild
+++ b/network/LimeWire/LimeWire.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=LimeWire
-VERSION=${VERSION:-4.16.3}
+VERSION=${VERSION:-4.18.3}
ARCH=i686 # Leave this alone for LimeWire
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,11 +39,14 @@ rm -rf $PKG $TMP/$PRGNAM
mkdir -p $TMP $PKG/opt $OUTPUT
cd $TMP
unzip $CWD/LimeWireOther.zip
-mv $PRGNAM $PKG/opt/$PRGNAM-$VERSION
+mv $PRGNAM $PKG/opt
# 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
+TMPFILE=$(mcookie)
+rm -rf $TMP/$TMPFILE
+fromdos < $PKG/opt/$PRGNAM/runLime.sh > $TMP/$TMPFILE
+cat $TMP/$TMPFILE > $PKG/opt/$PRGNAM/runLime.sh
+rm -f $TMP/$TMPFILE
mkdir -p $PKG/usr/bin
cat << EOF > $PKG/usr/bin/$PRGNAM
@@ -52,12 +55,7 @@ cd /opt/LimeWire
./runLime.sh
EOF
chmod 0755 $PKG/usr/bin/LimeWire
-
-( cd $PKG/usr/bin
- ln -s LimeWire limewire
- cd $PKG/opt
- ln -s LimeWire-$VERSION LimeWire
-)
+( cd $PKG/usr/bin ; ln -s LimeWire limewire )
# Install desktop file and icon
install -D -m 0644 $CWD/$PRGNAM.desktop \