development/lighttable: Fix symlink.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Benjamin Trigona-Harany 2014-04-13 13:42:12 +07:00 committed by Willy Sudiarto Raharjo
parent 838b0bd67c
commit aacb8e2c93
1 changed files with 5 additions and 2 deletions

View File

@ -23,7 +23,7 @@
PRGNAM=lighttable PRGNAM=lighttable
SRCNAM=LightTable SRCNAM=LightTable
VERSION=${VERSION:-0.6.5} VERSION=${VERSION:-0.6.5}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -74,7 +74,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/bin mkdir -p $PKG/usr/bin
ln -sf /opt/$PRGNAM/$SRCNAM $PKG/usr/bin ln -sf /opt/$SRCNAM/$SRCNAM $PKG/usr/bin
mkdir -p $PKG/usr/share/pixmaps
ln -sf /opt/$SRCNAM/core/img/lticon.png $PKG/usr/share/pixmaps/LightTable.png
mkdir -p $PKG/usr/share/applications mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop