aboutsummaryrefslogtreecommitdiff
path: root/network/frostwire/frostwire.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/frostwire/frostwire.SlackBuild')
-rw-r--r--network/frostwire/frostwire.SlackBuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/network/frostwire/frostwire.SlackBuild b/network/frostwire/frostwire.SlackBuild
index 0250a0bdab305..275ffcb07fac3 100644
--- a/network/frostwire/frostwire.SlackBuild
+++ b/network/frostwire/frostwire.SlackBuild
@@ -27,7 +27,7 @@
# Updated for new version - Edward Koenig <kingbeowulf@gmail.com>
PRGNAM=frostwire
-VERSION=4.21.7
+VERSION=5.1.4
ARCH=noarch # Leave this alone for frostwire
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,17 +56,12 @@ chmod 0755 $PKG/usr/bin/$PRGNAM
ln -s $PRGNAM-$VERSION $PRGNAM
# Install desktop file and icon
-install -D -m 0644 $CWD/$PRGNAM.desktop \
+install -D -m 0644 $PKG/opt/$PRGNAM-$VERSION/$PRGNAM.desktop \
$PKG/usr/share/applications/$PRGNAM.desktop
install -D -m 0644 $CWD/$PRGNAM.png \
$PKG/usr/share/pixmaps/$PRGNAM.png
-# Remove obsolete desktop file from program directory
-if [ -e $PKG/opt/$PRGNAM-$VERSION/$PRGNAM.desktop ]; then
- rm -f $PKG/opt/$PRGNAM-$VERSION/$PRGNAM.desktop
-fi
-
-# Let's not move the docs, but we will add the build script to them
+# Let's not move the docs, as there aren't any, 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