aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDamian Perticone <mjolnirdam@gmail.com>2023-11-07 18:36:30 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-11 08:07:55 +0700
commitc78f29c6b695de87a9b65b357a360a7c6d766ada (patch)
treeaccd801b77281d1fd77a0b28ef40a59481e32479 /desktop
parentb7d9b4a7b21cab6aed6b6afbb8cd26850a91ce9c (diff)
desktop/NsCDE: Updated for version 2.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/NsCDE/NsCDE.SlackBuild5
-rw-r--r--desktop/NsCDE/NsCDE.info6
-rw-r--r--desktop/NsCDE/doinst.sh9
3 files changed, 15 insertions, 5 deletions
diff --git a/desktop/NsCDE/NsCDE.SlackBuild b/desktop/NsCDE/NsCDE.SlackBuild
index c393a71180b7..ec128259c7ab 100644
--- a/desktop/NsCDE/NsCDE.SlackBuild
+++ b/desktop/NsCDE/NsCDE.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for NsCDE
-# Copyright 2022 Damian Perticone, Berisso, Argentina
+# Copyright 2023 Damian Perticone, Berisso, Argentina
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=NsCDE
-VERSION=${VERSION:-2.2}
+VERSION=${VERSION:-2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -107,6 +107,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/desktop/NsCDE/NsCDE.info b/desktop/NsCDE/NsCDE.info
index 7f92c4932290..3f906afb592a 100644
--- a/desktop/NsCDE/NsCDE.info
+++ b/desktop/NsCDE/NsCDE.info
@@ -1,8 +1,8 @@
PRGNAM="NsCDE"
-VERSION="2.2"
+VERSION="2.3"
HOMEPAGE="https://github.com/NsCDE/NsCDE"
-DOWNLOAD="https://github.com/NsCDE/NsCDE/archive/2.2/NsCDE-2.2.tar.gz"
-MD5SUM="09d2b8bc83a6fb2da58ea1b643a887e1"
+DOWNLOAD="https://github.com/NsCDE/NsCDE/archive/2.3/NsCDE-2.3.tar.gz"
+MD5SUM="0bb1dd16886923ea97655f38895f482c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/desktop/NsCDE/doinst.sh b/desktop/NsCDE/doinst.sh
new file mode 100644
index 000000000000..65c7e2eeb9aa
--- /dev/null
+++ b/desktop/NsCDE/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi