summaryrefslogtreecommitdiff
path: root/network/frostwire/frostwire.SlackBuild
diff options
context:
space:
mode:
authorPhillip Warner <pc_warner@yahoo.com>2010-05-12 17:43:20 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:43:20 +0200
commit0d7bb409c0b8799cd7dde003563a2656f275731d (patch)
tree9edbfb6af5e41aa6622869af471166ad4b723478 /network/frostwire/frostwire.SlackBuild
parent0ab511c521a61566da9a97eef1feb68fb43a53ab (diff)
downloadslackbuilds-0d7bb409c0b8799cd7dde003563a2656f275731d.tar.gz
network/frostwire: Updated for version 4.18.0
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