aboutsummaryrefslogtreecommitdiff
path: root/desktop/sun
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-03-16 00:50:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-16 00:50:21 +0700
commit783a2edd94ca64d4c3da3d34f3ff67ed0f750997 (patch)
treef85417fe14ecf3b3567069316888946104504362 /desktop/sun
parentabf1256129c80235aad8371051d428568ccb67ad (diff)
desktop/sun: Added (Slackware Update Notifier).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/sun')
-rw-r--r--desktop/sun/README5
-rw-r--r--desktop/sun/slack-desc6
-rw-r--r--desktop/sun/sun.SlackBuild10
-rw-r--r--desktop/sun/sun.info6
4 files changed, 15 insertions, 12 deletions
diff --git a/desktop/sun/README b/desktop/sun/README
index b3e8ea9ab8d3..b5101afe4618 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 b2d270b6fe82..ae4aae520e44 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 4f666cb17df2..3800c0e0dfc8 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 75970c025aa6..5c2cbfd6f957 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=""