aboutsummaryrefslogtreecommitdiff
path: root/network/LimeWire/LimeWire.SlackBuild
diff options
context:
space:
mode:
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 e6339c0c62b64..d2edb1e67382e 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 \