aboutsummaryrefslogtreecommitdiff
path: root/desktop/nwg-panel/nwg-panel.SlackBuild
diff options
context:
space:
mode:
authorJay Lanagan <j@lngn.net>2023-03-06 14:43:02 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-03-12 08:48:32 +0700
commitd9412e01e52035f09e309b043aa48732409f6893 (patch)
treedba02c1b12221d345d7e435b98af300df2c8b960 /desktop/nwg-panel/nwg-panel.SlackBuild
parent7d256e8cedb1eacd991cf80e3dd6ba9833d13660 (diff)
desktop/nwg-panel: Updated for version 0.8.0.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/nwg-panel/nwg-panel.SlackBuild')
-rw-r--r--desktop/nwg-panel/nwg-panel.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/desktop/nwg-panel/nwg-panel.SlackBuild b/desktop/nwg-panel/nwg-panel.SlackBuild
index 7984b4ec9fa7c..edfaf8366915f 100644
--- a/desktop/nwg-panel/nwg-panel.SlackBuild
+++ b/desktop/nwg-panel/nwg-panel.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nwg-panel
-VERSION=${VERSION:-0.7.17}
+VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,7 +76,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/v$VERSION.tar.?z || tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
-# fix reboot/shutdown options in menu
+# fix reboot/shutdown commands in menu
patch -Np1 -i $CWD/loginctl.patch || exit 1
chown -R root:root .
@@ -89,11 +89,8 @@ find -L . \
python3 setup.py install --optimize=1 --root=$PKG
chmod 644 *.svg *.desktop
mkdir -p /$PKG/usr/share/{pixmaps,applications}
-cp nwg-panel.svg $PKG/usr/share/pixmaps
-cp nwg-shell.svg $PKG/usr/share/pixmaps
-cp nwg-panel-config.desktop $PKG/usr/share/applications
-cp nwg-processes.svg $PKG/usr/share/pixmaps/
-cp nwg-processes.desktop $PKG/usr/share/applications/
+cp *.svg $PKG/usr/share/pixmaps
+cp *.desktop $PKG/usr/share/applications
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