development/zed: Fix symlink in doinst.sh.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-01-18 18:54:16 +07:00
parent 5f06c7ff19
commit 5a8b160ecb

View file

@ -27,12 +27,10 @@ VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -83,7 +81,7 @@ EOT
chmod 755 $PKG/usr/bin/${PRGNAM}
mkdir -p $PKG/usr/share/pixmaps
ln -sf $PKG/opt/${PRGNAM}/${SRCNAM}.png $PKG/usr/share/pixmaps/${PRGNAM}.png
ln -sf /opt/${PRGNAM}/${SRCNAM}.png $PKG/usr/share/pixmaps/${PRGNAM}.png
mkdir -p $PKG/usr/share/applications
cat $CWD/${PRGNAM}.desktop > $PKG/usr/share/applications/${PRGNAM}.desktop