diff options
Diffstat (limited to 'development')
-rw-r--r-- | development/sublime_text/sublime_text.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/development/sublime_text/sublime_text.SlackBuild b/development/sublime_text/sublime_text.SlackBuild index f82e7ff21e83a..ebd66b839cce7 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 |