summaryrefslogtreecommitdiffstats
path: root/desktop/nwg-shell/nwg-shell.SlackBuild
diff options
context:
space:
mode:
author Jay Lanagan <1995739+mac-a-r0ni@users.noreply.github.com>2024-02-02 08:25:53 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-02 22:23:37 +0700
commitfb6fa3a2a62a8e8443810fca8f04a40435c81504 (patch)
tree5bc9728d189e1d03469b3a47c2e66d61a4b52c0a /desktop/nwg-shell/nwg-shell.SlackBuild
parentbeb549af71407315dff3c236afc8fafd022d48cd (diff)
downloadslackbuilds-fb6fa3a2a62a8e8443810fca8f04a40435c81504.tar.gz
slackbuilds-fb6fa3a2a62a8e8443810fca8f04a40435c81504.tar.xz
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/nwg-shell/nwg-shell.SlackBuild')
-rw-r--r--desktop/nwg-shell/nwg-shell.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/desktop/nwg-shell/nwg-shell.SlackBuild b/desktop/nwg-shell/nwg-shell.SlackBuild
index aad5e35541..766ea471e5 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