summaryrefslogtreecommitdiff
path: root/network/frostwire/frostwire.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/frostwire/frostwire.SlackBuild')
-rw-r--r--network/frostwire/frostwire.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/network/frostwire/frostwire.SlackBuild b/network/frostwire/frostwire.SlackBuild
index ae1f4f58bf..92fbe5ba0e 100644
--- a/network/frostwire/frostwire.SlackBuild
+++ b/network/frostwire/frostwire.SlackBuild
@@ -23,10 +23,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by Phil Warner for frostwire <pc_warner@yahoo.com>
+# Modified by Phillip Warner for frostwire <pc_warner@yahoo.com>
PRGNAM=frostwire
-VERSION=4.17.0
+VERSION=4.18.0
ARCH=noarch # Leave this alone for frostwire
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,6 +54,13 @@ chmod 0755 $PKG/usr/bin/$PRGNAM
ln -s $PRGNAM-$VERSION $PRGNAM
+# frostwire looks for some of its files under /usr/lib/frostwire
+# so we appease it with a symlink
+mkdir -p $PKG/usr/lib
+( cd $PKG/usr/lib
+ ln -s /opt/$PRGNAM $PRGNAM
+)
+
# Install desktop file and icon
install -D -m 0644 $CWD/$PRGNAM.desktop \
$PKG/usr/share/applications/$PRGNAM.desktop
@@ -82,4 +89,5 @@ cd $PKG
chown -R root:root .
chmod -R a-s,u+rw,go+r-w .
find . -type d -name '.svn' | xargs rm -rf
+
/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz