From 3c1b1e5cbf50c4c796ff87087d2362a29510ec39 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Tue, 8 Mar 2016 22:55:15 +0200 Subject: desktop/sun: Updated for version 1.2.0. Signed-off-by: Dimitris Zlatanidis --- desktop/sun/README | 3 --- desktop/sun/doinst.sh | 12 ------------ desktop/sun/sun.SlackBuild | 7 ++----- desktop/sun/sun.info | 6 +++--- 4 files changed, 5 insertions(+), 23 deletions(-) (limited to 'desktop/sun') 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="" -- cgit v1.2.3