From 783a2edd94ca64d4c3da3d34f3ff67ed0f750997 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 16 Mar 2015 00:50:21 +0700 Subject: desktop/sun: Added (Slackware Update Notifier). Signed-off-by: Willy Sudiarto Raharjo --- desktop/sun/README | 5 ++++- desktop/sun/slack-desc | 6 +++--- desktop/sun/sun.SlackBuild | 10 +++++----- desktop/sun/sun.info | 6 +++--- 4 files changed, 15 insertions(+), 12 deletions(-) (limited to 'desktop/sun') diff --git a/desktop/sun/README b/desktop/sun/README index b3e8ea9ab8..b5101afe46 100644 --- a/desktop/sun/README +++ b/desktop/sun/README @@ -1,3 +1,6 @@ -Slackware Update Notifier is a tray notification applet for informing +SUN (Slackware Update Notifier) is a tray notification applet for informing about package updates in Slackware and CLI tool for monitoring upgraded packages. +NOTE: To start the daemon executable permission required. + After installation run as root: + # chmod +x /etc/rc.d/rc.sun diff --git a/desktop/sun/slack-desc b/desktop/sun/slack-desc index b2d270b6fe..ae4aae520e 100644 --- a/desktop/sun/slack-desc +++ b/desktop/sun/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| sun: sun (Slackware Update Notifier) sun: -sun: Slackware Update Notifier is a tray notification applet for informing -sun: about package updates in Slackware and CLI tool for monitoring -sun: upgraded packages. +sun: SUN is a tray notification applet for informing about package updates +sun: in Slackware and CLI tool for monitoring upgraded packages. sun: sun: Homepage: https://github.com/dslackw/sun sun: sun: sun: sun: +sun: 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 diff --git a/desktop/sun/sun.info b/desktop/sun/sun.info index 75970c025a..5c2cbfd6f9 100644 --- a/desktop/sun/sun.info +++ b/desktop/sun/sun.info @@ -1,8 +1,8 @@ PRGNAM="sun" -VERSION="1.0.1" +VERSION="1.0.3" HOMEPAGE="https://github.com/dslackw/sun" -DOWNLOAD="https://github.com/dslackw/sun/archive/v1.0.1.tar.gz" -MD5SUM="16d5d46477d2705f670c8ff7d6bc302d" +DOWNLOAD="https://github.com/dslackw/sun/archive/v1.0.3.tar.gz" +MD5SUM="edcf39099abef160060a0a2a1e748065" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3