summaryrefslogtreecommitdiff
path: root/desktop/sun/sun.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/sun/sun.SlackBuild')
-rw-r--r--desktop/sun/sun.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop/sun/sun.SlackBuild b/desktop/sun/sun.SlackBuild
index 4f666cb17d..3800c0e0df 100644
--- a/desktop/sun/sun.SlackBuild
+++ b/desktop/sun/sun.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sun
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-1.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -77,17 +77,17 @@ python setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/etc/$PRGNAM $PKG/etc/rc.d/ $PKG/usr/share/pixmaps
-
# install configurations files
+mkdir -p $PKG/etc/$PRGNAM $PKG/etc/rc.d/
install -D -m0644 conf/${PRGNAM}.conf $PKG/etc/$PRGNAM/${PRGNAM}.conf
install -D -m0644 conf/mirrors $PKG/etc/$PRGNAM/mirrors
-
# install rc file
install -D -m0644 conf/rc.${PRGNAM} $PKG/etc/rc.d/rc.${PRGNAM}
-# install notify icon
+# install notify icon and .desktop file
+mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/applications
install -D -m0644 icon/${PRGNAM}.png $PKG/usr/share/pixmaps/${PRGNAM}.png
+install -D -m0644 ${PRGNAM}.desktop $PKG/usr/share/applications/${PRGNAM}.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.rst ChangeLog.txt LICENSE $PKG/usr/doc/$PRGNAM-$VERSION