summaryrefslogtreecommitdiff
path: root/network/LimeWire
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
parent56c9ce3c90dacb8404ecc2f5460e0c8404ec5b02 (diff)
downloadslackbuilds-e5238e08f21729f7ebd6e80db27ec20ac8cbc8ee.tar.gz
network/LimeWire: Updated for version 4.18.3
Diffstat (limited to 'network/LimeWire')
-rw-r--r--network/LimeWire/LimeWire.SlackBuild18
-rw-r--r--network/LimeWire/LimeWire.desktop6
-rw-r--r--network/LimeWire/LimeWire.info6
-rw-r--r--network/LimeWire/doinst.sh4
4 files changed, 16 insertions, 18 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 \
diff --git a/network/LimeWire/LimeWire.desktop b/network/LimeWire/LimeWire.desktop
index 5294cc4e5b..b725a73a22 100644
--- a/network/LimeWire/LimeWire.desktop
+++ b/network/LimeWire/LimeWire.desktop
@@ -1,11 +1,11 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
-Exec=/usr/bin/LimeWire
-Icon=/usr/share/pixmaps/LimeWire.png
+Exec=LimeWire
+Icon=LimeWire
Terminal=false
Name=LimeWire
Comment=Peer to Peer Filesharing Client
-Categories=Application;Network
+Categories=Application;Network;
Type=Application
StartupNotify=true
diff --git a/network/LimeWire/LimeWire.info b/network/LimeWire/LimeWire.info
index 91ac81fbff..afe10f201b 100644
--- a/network/LimeWire/LimeWire.info
+++ b/network/LimeWire/LimeWire.info
@@ -1,8 +1,8 @@
PRGNAM="LimeWire"
-VERSION="4.16.3"
+VERSION="4.18.3"
HOMEPAGE="http://www.limewire.com"
DOWNLOAD="http://www10.limewire.com/download/LimeWireOther.zip"
-MD5SUM="145f7075675a60a211a6c83db366a38f"
+MD5SUM="0ffeade86a12860df13d00f9b89a7048"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="David Somero"
+APPROVED="Michiel"
diff --git a/network/LimeWire/doinst.sh b/network/LimeWire/doinst.sh
index 34be13eb65..5fb28930db 100644
--- a/network/LimeWire/doinst.sh
+++ b/network/LimeWire/doinst.sh
@@ -1,3 +1,3 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi