summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-06-07 21:25:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-07 21:25:02 +0700
commitb574b22406b4cd57e2ea8378c625cdbf5c39d7a9 (patch)
tree9b2256b448c19acc5d66a2269c59656c43c8a056
parent15f45b17a76f7baff5119e431a0f06a4652f8f3d (diff)
downloadslackbuilds-b574b22406b4cd57e2ea8378c625cdbf5c39d7a9.tar.gz
development/sublime_text: Fix icons and desktop icon.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/sublime_text/sublime_text.SlackBuild8
1 files 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