From b574b22406b4cd57e2ea8378c625cdbf5c39d7a9 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 7 Jun 2015 21:25:02 +0700 Subject: development/sublime_text: Fix icons and desktop icon. Signed-off-by: Willy Sudiarto Raharjo --- development/sublime_text/sublime_text.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/development/sublime_text/sublime_text.SlackBuild b/development/sublime_text/sublime_text.SlackBuild index f82e7ff21e..ebd66b839c 100644 --- a/development/sublime_text/sublime_text.SlackBuild +++ b/development/sublime_text/sublime_text.SlackBuild @@ -9,7 +9,7 @@ PRGNAM=sublime_text VERSION=${VERSION:-3.0.83} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -65,12 +65,16 @@ ln -sf /opt/$PRGNAM/sublime_text $PKG/usr/bin mkdir -p $PKG/usr/share/applications cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop +mkdir -p $PKG/usr/share/pixmaps +install -D -m0644 Icon/48x48/sublime-text.png $PKG/usr/share/pixmaps/${PRGNAM}.png + for size in 16x16 32x32 48x48 128x128 256x256 ; do mkdir -p $PKG/usr/share/icons/hicolor/$size/apps - ln -s /opt/$PRGNAM/Icon/$size/sublime_text.png \ + ln -s /opt/$PRGNAM/Icon/$size/sublime-text.png \ $PKG/usr/share/icons/hicolor/$size/apps/ ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3