summaryrefslogtreecommitdiff
path: root/desktop/sun
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-03-08 22:55:15 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-12 06:42:46 +0700
commit3c1b1e5cbf50c4c796ff87087d2362a29510ec39 (patch)
tree3a885e9688c6c03b8521eafff799506e4568874e /desktop/sun
parentec9772a6d6ba7eab6d4f495853587cae34f56df7 (diff)
downloadslackbuilds-3c1b1e5cbf50c4c796ff87087d2362a29510ec39.tar.gz
desktop/sun: Updated for version 1.2.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'desktop/sun')
-rw-r--r--desktop/sun/README3
-rw-r--r--desktop/sun/doinst.sh12
-rw-r--r--desktop/sun/sun.SlackBuild7
-rw-r--r--desktop/sun/sun.info6
4 files changed, 5 insertions, 23 deletions
diff --git a/desktop/sun/README b/desktop/sun/README
index 2ed799ba23..75dd31299a 100644
--- a/desktop/sun/README
+++ b/desktop/sun/README
@@ -1,6 +1,3 @@
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:
- # chmod +x /etc/rc.d/rc.sun
diff --git a/desktop/sun/doinst.sh b/desktop/sun/doinst.sh
index 6f22daeee7..5dc84af9c0 100644
--- a/desktop/sun/doinst.sh
+++ b/desktop/sun/doinst.sh
@@ -8,18 +8,6 @@ config() {
fi
}
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.sun.new
config etc/sun/sun.conf.new
if [ -x /usr/bin/update-desktop-database ]; then
diff --git a/desktop/sun/sun.SlackBuild b/desktop/sun/sun.SlackBuild
index e2f40fbb6f..f1713f2786 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.1.7}
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,12 +78,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# install configurations files
-mkdir -p $PKG/etc/$PRGNAM $PKG/etc/rc.d/
+mkdir -p $PKG/etc/$PRGNAM
install -D -m0644 conf/${PRGNAM}.conf $PKG/etc/$PRGNAM/${PRGNAM}.conf.new
-# install rc file
-install -D -m0644 conf/rc.${PRGNAM} $PKG/etc/rc.d/rc.${PRGNAM}.new
-
# 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
diff --git a/desktop/sun/sun.info b/desktop/sun/sun.info
index 906fa1bad9..5dafc7c8fc 100644
--- a/desktop/sun/sun.info
+++ b/desktop/sun/sun.info
@@ -1,8 +1,8 @@
PRGNAM="sun"
-VERSION="1.1.7"
+VERSION="1.2.0"
HOMEPAGE="https://github.com/dslackw/sun"
-DOWNLOAD="https://github.com/dslackw/sun/archive/v1.1.7.tar.gz"
-MD5SUM="cf588bfb177f432cbeee1d2fb34729b8"
+DOWNLOAD="https://github.com/dslackw/sun/archive/v1.2.0.tar.gz"
+MD5SUM="c1a97ba1afb3d46381476b9e3f2fa554"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""