diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2025-02-28 21:34:52 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2025-03-01 08:37:29 +0700 |
commit | ba7b7eaf70c519f944a6f4dc0b152407ebd15f30 (patch) | |
tree | 0840557406f2ce904fc796fb4fe8fa2b177393c6 /desktop | |
parent | 8394bbdcb03fb04ee9b7244a623cf2b53157040e (diff) |
desktop/sun: Updated for version 2.0.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/sun/README | 17 | ||||
-rw-r--r-- | desktop/sun/doinst.sh | 3 | ||||
-rw-r--r-- | desktop/sun/slack-desc | 12 | ||||
-rw-r--r-- | desktop/sun/sun.SlackBuild | 11 | ||||
-rw-r--r-- | desktop/sun/sun.info | 8 |
5 files changed, 26 insertions, 25 deletions
diff --git a/desktop/sun/README b/desktop/sun/README index 8c873a01f5..d92a1ae11e 100644 --- a/desktop/sun/README +++ b/desktop/sun/README @@ -1,10 +1,13 @@ SUN (Slackware Update Notifier) is a tray notification applet -for informing about package updates in Slackware and CLI tool for -monitoring upgraded packages. +and daemon for informing about package updates in Slackware. +It also serves as a CLI tool for monitoring upgraded packages. -SUN works with slackpkg as well as with others tools and -repositories. Probably, you can use the SUN with other's Slackware -based Linux distributionsc as well. +SUN works by default with slackpkg, as well as with other tools +like slpkg. You can probably use SUN with other Slackware-based +Linux distributions as well. + +Edit the configuration file at /etc/sun/sun.conf and change the +HTTP mirror to one in your country. + +Note: FTP mirrors are not supported. -Edit the configuration /etc/sun/repositories.toml file and change the -http mirror for your country. NOTE: ftp mirrors not supported. diff --git a/desktop/sun/doinst.sh b/desktop/sun/doinst.sh index f59a2090af..2a5c47960b 100644 --- a/desktop/sun/doinst.sh +++ b/desktop/sun/doinst.sh @@ -8,8 +8,7 @@ config() { fi } -config etc/sun/sun.toml.new -config etc/sun/repositories.toml.new +config etc/sun/sun.conf.new if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 diff --git a/desktop/sun/slack-desc b/desktop/sun/slack-desc index 35d6b0e7f2..70c7f0adf4 100644 --- a/desktop/sun/slack-desc +++ b/desktop/sun/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| sun: sun (Slackware Update Notifier) sun: -sun: SUN is a tray notification applet for informing about package updates -sun: in Slackware and CLI tool for monitoring upgraded packages. SUN works -sun: with slackpkg as well as with others tools and repositories. Probably -sun: you can use the SUN with other's Slackware based Linux distributions -sun: as well. +sun: SUN (Slackware Update Notifier) is a tray notification applet +sun: and daemon for informing about package updates in Slackware +sun: as well CLI tool for monitoring upgraded packages. +sun: +sun: Homepage: https://gitlab.com/dslackw/sun +sun: sun: -sun: Homepage: https://dslackw.gitlab.io/sun sun: sun: diff --git a/desktop/sun/sun.SlackBuild b/desktop/sun/sun.SlackBuild index 7dd343e6a0..01d0fb178e 100644 --- a/desktop/sun/sun.SlackBuild +++ b/desktop/sun/sun.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for sun -# Copyright 2015-2024 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2015-2025 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sun -VERSION=${VERSION:-1.6.3} +VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,14 +83,13 @@ python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl # Install configuration and data files -mkdir -p $PKG/usr/sbin $PKG/etc/$PRGNAM $PKG/usr/share/pixmaps/ $PKG/usr/share/applications/ \ +mkdir -p $PKG/usr/sbin $PKG/etc/$PRGNAM $PKG/usr/share/pixmaps/$PRGNAM $PKG/usr/share/applications/ \ $PKG/etc/xdg/autostart/ -install -D -m0644 conf/sun.toml $PKG/etc/sun/sun.toml.new -install -D -m0644 conf/repositories.toml $PKG/etc/sun/repositories.toml.new +install -D -m0644 conf/sun.conf $PKG/etc/sun/sun.conf.new mv $PKG/usr/bin/sun-autostart $PKG/usr/sbin/ -cp -a extra/icon/sun.png $PKG/usr/share/pixmaps/ +cp -a extra/icons/*.png $PKG/usr/share/pixmaps/$PRGNAM cp -a extra/desktop/sun.desktop $PKG/usr/share/applications/ cp -a extra/xdg/sun-daemon.desktop.sample $PKG/etc/xdg/autostart/ cp -a extra/xdg/sun.desktop $PKG/etc/xdg/autostart/ diff --git a/desktop/sun/sun.info b/desktop/sun/sun.info index 4658c35dee..9a16678f69 100644 --- a/desktop/sun/sun.info +++ b/desktop/sun/sun.info @@ -1,10 +1,10 @@ PRGNAM="sun" -VERSION="1.6.3" +VERSION="2.0.0" HOMEPAGE="https://dslackw.gitlab.io/sun" -DOWNLOAD="https://gitlab.com/dslackw/sun/-/archive/1.6.3/sun-1.6.3.tar.gz" -MD5SUM="250a53dacaec661d24b6ad752efef11d" +DOWNLOAD="https://gitlab.com/dslackw/sun/-/archive/2.0.0/sun-2.0.0.tar.gz" +MD5SUM="4b0b86fc22f424daa1a59807d4311984" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-tomlkit" +REQUIRES="python3-psutil" MAINTAINER="Dimitris Zlatanidis" EMAIL="dslackw@gmail.com" |