diff options
Diffstat (limited to 'desktop/sun')
-rw-r--r-- | desktop/sun/sun.SlackBuild | 18 | ||||
-rw-r--r-- | desktop/sun/sun.info | 8 |
2 files changed, 7 insertions, 19 deletions
diff --git a/desktop/sun/sun.SlackBuild b/desktop/sun/sun.SlackBuild index 59ae22bfb95d..c3b7fe873758 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 31fe510c8f2a..462469387f4b 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" |