aboutsummaryrefslogtreecommitdiff
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
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>
-rw-r--r--desktop/nwg-panel/nwg-panel.SlackBuild11
-rw-r--r--desktop/nwg-panel/nwg-panel.info6
2 files changed, 7 insertions, 10 deletions
diff --git a/desktop/nwg-panel/nwg-panel.SlackBuild b/desktop/nwg-panel/nwg-panel.SlackBuild
index 7984b4ec9fa7..edfaf8366915 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
diff --git a/desktop/nwg-panel/nwg-panel.info b/desktop/nwg-panel/nwg-panel.info
index 7a1e813dbb10..ef9e3f5fe2b6 100644
--- a/desktop/nwg-panel/nwg-panel.info
+++ b/desktop/nwg-panel/nwg-panel.info
@@ -1,8 +1,8 @@
PRGNAM="nwg-panel"
-VERSION="0.7.17"
+VERSION="0.8.0"
HOMEPAGE="https://github.com/nwg-piotr/nwg-panel/"
-DOWNLOAD="https://github.com/nwg-piotr/nwg-panel/archive/v0.7.17/nwg-panel-0.7.17.tar.gz"
-MD5SUM="5300a9df07a16f01d3aab1dc831a6207"
+DOWNLOAD="https://github.com/nwg-piotr/nwg-panel/archive/v0.8.0/nwg-panel-0.8.0.tar.gz"
+MD5SUM="09732498a6c448568baf4107390aef94"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtk-layer-shell nwg-icon-picker playerctl python3-psutil i3ipc python3-dasbus python3-netifaces wheel SwayNotificationCenter wlr-randr"