summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2020-02-13 13:55:04 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-15 09:51:02 +0700
commit0ed07023a26f8297129f1aff6d5e71d9471a30e5 (patch)
tree75252289dd6abf1633c2bfd18d72b1498c525bb4 /desktop
parenta5fda2a9eb2467888873d38b2e5a13b80770776c (diff)
downloadslackbuilds-0ed07023a26f8297129f1aff6d5e71d9471a30e5.tar.gz
desktop/sun: Updated for version 1.3.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/sun/sun.SlackBuild18
-rw-r--r--desktop/sun/sun.info8
2 files changed, 7 insertions, 19 deletions
diff --git a/desktop/sun/sun.SlackBuild b/desktop/sun/sun.SlackBuild
index 59ae22bfb9..c3b7fe8737 100644
--- a/desktop/sun/sun.SlackBuild
+++ b/desktop/sun/sun.SlackBuild
@@ -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
diff --git a/desktop/sun/sun.info b/desktop/sun/sun.info
index 31fe510c8f..462469387f 100644
--- a/desktop/sun/sun.info
+++ b/desktop/sun/sun.info
@@ -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"