mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
desktop/sun: Updated for version 1.2.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
ec9772a6d6
commit
3c1b1e5cbf
4 changed files with 5 additions and 23 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue