desktop/sun: Updated for version 1.3.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
a5fda2a9eb
commit
0ed07023a2
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for sun
|
# Slackware build script for sun
|
||||||
|
|
||||||
# Copyright 2015-2018 Dimitris Zlatanidis Orestiada, Greece
|
# Copyright 2015-2020 Dimitris Zlatanidis Orestiada, Greece
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=sun
|
PRGNAM=sun
|
||||||
VERSION=${VERSION:-1.2.3}
|
VERSION=${VERSION:-1.3.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -69,23 +69,11 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
# avoid install configuration files over setup.py
|
python3 setup.py install --root=$PKG
|
||||||
sed -i 's/if "install"/if ""/' setup.py
|
|
||||||
|
|
||||||
python setup.py install --root=$PKG
|
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
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
|
| 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
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a README.rst CHANGES.md LICENSE.txt $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
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="sun"
|
PRGNAM="sun"
|
||||||
VERSION="1.2.3"
|
VERSION="1.3.0"
|
||||||
HOMEPAGE="https://gitlab.com/dslackw/sun"
|
HOMEPAGE="https://gitlab.com/dslackw/sun"
|
||||||
DOWNLOAD="https://gitlab.com/dslackw/sun/-/archive/1.2.3/sun-1.2.3.tar.gz"
|
DOWNLOAD="https://gitlab.com/dslackw/sun/-/archive/1.3.0/sun-1.3.0.tar.gz"
|
||||||
MD5SUM="cbfdf934b9f12d87a50da1001917f1de"
|
MD5SUM="8131a16bd5a1cd5be88fabce11f05e8e"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="python-notify2"
|
REQUIRES="python-notify2 dbus-python3 pygobject3-python3 python-urllib3"
|
||||||
MAINTAINER="Dimitris Zlatanidis"
|
MAINTAINER="Dimitris Zlatanidis"
|
||||||
EMAIL="d.zlatanidis@gmail.com"
|
EMAIL="d.zlatanidis@gmail.com"
|
||||||
|
|
Loading…
Reference in New Issue