desktop/sun: Updated for version 1.3.0.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2020-02-13 13:55:04 +01:00 committed by Willy Sudiarto Raharjo
parent a5fda2a9eb
commit 0ed07023a2
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 7 additions and 19 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for sun
# Copyright 2015-2018 Dimitris Zlatanidis Orestiada, Greece
# Copyright 2015-2020 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sun
VERSION=${VERSION:-1.2.3}
VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,23 +69,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# avoid install configuration files over setup.py
sed -i 's/if "install"/if ""/' setup.py
python setup.py install --root=$PKG
python3 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
# install configurations files
mkdir -p $PKG/etc/$PRGNAM
install -D -m0644 conf/${PRGNAM}.conf $PKG/etc/$PRGNAM/${PRGNAM}.conf.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
install -D -m0644 ${PRGNAM}.desktop $PKG/usr/share/applications/${PRGNAM}.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.rst CHANGES.md LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View File

@ -1,10 +1,10 @@
PRGNAM="sun"
VERSION="1.2.3"
VERSION="1.3.0"
HOMEPAGE="https://gitlab.com/dslackw/sun"
DOWNLOAD="https://gitlab.com/dslackw/sun/-/archive/1.2.3/sun-1.2.3.tar.gz"
MD5SUM="cbfdf934b9f12d87a50da1001917f1de"
DOWNLOAD="https://gitlab.com/dslackw/sun/-/archive/1.3.0/sun-1.3.0.tar.gz"
MD5SUM="8131a16bd5a1cd5be88fabce11f05e8e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python-notify2"
REQUIRES="python-notify2 dbus-python3 pygobject3-python3 python-urllib3"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"