aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2022-12-02 20:53:40 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-03 11:46:51 +0700
commitbefa6e1d8aa70598e4e0bf8367c2a42601315921 (patch)
tree2ad1a0116f4c24493eb57b4529429d4b06473542
parent79065026f32cbc3c2e8df5ef8a0d35c3bf55380c (diff)
desktop/sun: Updated for version 1.3.6.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/sun/doinst.sh2
-rw-r--r--desktop/sun/sun.SlackBuild6
-rw-r--r--desktop/sun/sun.info8
3 files changed, 10 insertions, 6 deletions
diff --git a/desktop/sun/doinst.sh b/desktop/sun/doinst.sh
index 5dc84af9c0be..2c94ccc544fd 100644
--- a/desktop/sun/doinst.sh
+++ b/desktop/sun/doinst.sh
@@ -8,7 +8,7 @@ config() {
fi
}
-config etc/sun/sun.conf.new
+config etc/sun/sun.toml.new
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
diff --git a/desktop/sun/sun.SlackBuild b/desktop/sun/sun.SlackBuild
index b880f66b1503..6c1e5ff77f6a 100644
--- a/desktop/sun/sun.SlackBuild
+++ b/desktop/sun/sun.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sun
-VERSION=${VERSION:-1.3.5}
+VERSION=${VERSION:-1.3.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,6 +81,10 @@ find -L . \
python3 setup.py install --root=$PKG
+# Install configuration file
+mkdir -p $PKG/etc/$PRGNAM
+install -D -m0644 conf/sun.toml $PKG/etc/sun/sun.toml.new
+
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
diff --git a/desktop/sun/sun.info b/desktop/sun/sun.info
index e5122609d463..6f6d930f073b 100644
--- a/desktop/sun/sun.info
+++ b/desktop/sun/sun.info
@@ -1,10 +1,10 @@
PRGNAM="sun"
-VERSION="1.3.5"
+VERSION="1.3.6"
HOMEPAGE="https://gitlab.com/dslackw/sun"
-DOWNLOAD="https://gitlab.com/dslackw/sun/-/archive/1.3.5/sun-1.3.5.tar.gz"
-MD5SUM="15974b174d907ece9577f39b2ad6ea41"
+DOWNLOAD="https://gitlab.com/dslackw/sun/-/archive/1.3.6/sun-1.3.6.tar.gz"
+MD5SUM="c0b50e4275b89b363487244072cbc76b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python-toml"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"