aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJay Lanagan <1995739+mac-a-r0ni@users.noreply.github.com>2024-02-02 08:25:53 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-02 22:23:37 +0700
commitfb6fa3a2a62a8e8443810fca8f04a40435c81504 (patch)
tree5bc9728d189e1d03469b3a47c2e66d61a4b52c0a /desktop
parentbeb549af71407315dff3c236afc8fafd022d48cd (diff)
desktop/nwg-shell: Updated for version 0.5.31.
Added new deps 'nwg-clipman' (already on SBo) and 'nwg-readme-browser' (in this weeks queue) to the project. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/nwg-shell/doinst.sh3
-rw-r--r--desktop/nwg-shell/nwg-shell.SlackBuild13
-rw-r--r--desktop/nwg-shell/nwg-shell.info8
3 files changed, 13 insertions, 11 deletions
diff --git a/desktop/nwg-shell/doinst.sh b/desktop/nwg-shell/doinst.sh
new file mode 100644
index 0000000000000..5fb28930db0b9
--- /dev/null
+++ b/desktop/nwg-shell/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/desktop/nwg-shell/nwg-shell.SlackBuild b/desktop/nwg-shell/nwg-shell.SlackBuild
index aad5e35541608..766ea471e55de 100644
--- a/desktop/nwg-shell/nwg-shell.SlackBuild
+++ b/desktop/nwg-shell/nwg-shell.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nwg-shell
-# Copyright 2023 Jay Lanagan (j@lngn.net), Detroit, MI, USA.
+# Copyright 2023-2024 Jay Lanagan (j@lngn.net), Detroit, MI, USA.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nwg-shell
-VERSION=${VERSION:-0.5.28}
+VERSION=${VERSION:-0.5.31}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -87,11 +87,9 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python3 setup.py install --optimize=1 --root=$PKG
-mkdir -p $PKG/usr/share/backgrounds $PKG/usr/bin
-chmod 644 nwg-shell.jpg
-chmod 755 scripts/*
-cp nwg-shell.jpg $PKG/usr/share/backgrounds
-cp scripts/screenshot $PKG/usr/bin
+install -Dm0644 -t $PKG/usr/share/backgrounds nwg-shell.jpg
+install -Dm0755 -t $PKG/usr/bin scripts/screenshot
+install -Dm0644 -t $PKG/usr/share/applications nwg-readme.desktop
# Remove Arch updaters from our Slackware package, users are recommended
# to use sbopkg, sboui, or their favorite SBo updater to get package updates.
@@ -108,6 +106,7 @@ cp -a LICENSE README.md \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
diff --git a/desktop/nwg-shell/nwg-shell.info b/desktop/nwg-shell/nwg-shell.info
index fc6a314455964..6116915102799 100644
--- a/desktop/nwg-shell/nwg-shell.info
+++ b/desktop/nwg-shell/nwg-shell.info
@@ -1,10 +1,10 @@
PRGNAM="nwg-shell"
-VERSION="0.5.28"
+VERSION="0.5.31"
HOMEPAGE="https://nwg-piotr.github.io/nwg-shell/"
-DOWNLOAD="https://github.com/nwg-piotr/nwg-shell/releases/download/v0.5.28/nwg-shell-v0.5.28.tar.gz"
-MD5SUM="e4011c21c8a87c5fe9930b1b7b3b7faa"
+DOWNLOAD="https://github.com/nwg-piotr/nwg-shell/releases/download/v0.5.31/nwg-shell-v0.5.31.tar.gz"
+MD5SUM="130d2e6a276c4ecb4d6440ada5b412e8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="foot grim jq brightnessctl papirus-icon-theme slurp gtklock-playerctl-module gtklock-powerbar-module gtklock-userinfo-module swappy sway swayidle swaylock wl-clipboard azote gopsuinfo nwg-bar nwg-dock nwg-menu nwg-look nwg-panel nwg-shell-config nwg-shell-wallpapers nwg-wrapper nwg-displays python3-autotiling xdg-desktop-portal-wlr"
+REQUIRES="foot grim jq brightnessctl papirus-icon-theme slurp gtklock-playerctl-module gtklock-powerbar-module gtklock-userinfo-module swappy sway swayidle swaylock wl-clipboard azote gopsuinfo nwg-bar nwg-clipman nwg-dock nwg-menu nwg-look nwg-panel nwg-readme-browser nwg-shell-config nwg-shell-wallpapers nwg-wrapper nwg-displays python3-autotiling xdg-desktop-portal-wlr"
MAINTAINER="Jay Lanagan"
EMAIL="j@lngn.net"