From 53932e68dbfc9d2db18e53e49a0275b8b4174b71 Mon Sep 17 00:00:00 2001 From: Jay Lanagan Date: Fri, 2 Feb 2024 08:20:29 -0500 Subject: desktop/nwg-panel: Updated for version 0.9.22. Project is dropping 'light' dep, replacing with 'brightnessctl'. Signed-off-by: Willy Sudiarto Raharjo --- desktop/nwg-panel/nwg-panel.SlackBuild | 12 +++++------- desktop/nwg-panel/nwg-panel.info | 8 ++++---- 2 files changed, 9 insertions(+), 11 deletions(-) (limited to 'desktop/nwg-panel') diff --git a/desktop/nwg-panel/nwg-panel.SlackBuild b/desktop/nwg-panel/nwg-panel.SlackBuild index cae9cdb0e9..5634724739 100644 --- a/desktop/nwg-panel/nwg-panel.SlackBuild +++ b/desktop/nwg-panel/nwg-panel.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for nwg-panel -# 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-panel -VERSION=${VERSION:-0.9.21} +VERSION=${VERSION:-0.9.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -87,10 +87,8 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python3 setup.py install --optimize=1 --root=$PKG -chmod 644 *.svg *.desktop -mkdir -p /$PKG/usr/share/{pixmaps,applications} -cp *.svg $PKG/usr/share/pixmaps -cp *.desktop $PKG/usr/share/applications +install -Dm0644 -t $PKG/usr/share/pixmaps *.svg +install -Dm0644 -t $PKG/usr/share/applications *.desktop 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 @@ -98,7 +96,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README.md \ +cp -a LICENSE *.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/desktop/nwg-panel/nwg-panel.info b/desktop/nwg-panel/nwg-panel.info index da1b991f20..942f9a8490 100644 --- a/desktop/nwg-panel/nwg-panel.info +++ b/desktop/nwg-panel/nwg-panel.info @@ -1,10 +1,10 @@ PRGNAM="nwg-panel" -VERSION="0.9.21" +VERSION="0.9.22" HOMEPAGE="https://github.com/nwg-piotr/nwg-panel/" -DOWNLOAD="https://github.com/nwg-piotr/nwg-panel/archive/v0.9.21/nwg-panel-0.9.21.tar.gz" -MD5SUM="5553a6429c38e03f5b81ccf4a2e1b4ea" +DOWNLOAD="https://github.com/nwg-piotr/nwg-panel/archive/v0.9.22/nwg-panel-0.9.22.tar.gz" +MD5SUM="8e2c13472901629ad10c4640660b4612" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="light nwg-icon-picker playerctl python3-psutil i3ipc python3-dasbus python3-netifaces SwayNotificationCenter wlr-randr ddcutil" +REQUIRES="brightnessctl nwg-icon-picker playerctl python3-psutil i3ipc python3-dasbus python3-netifaces SwayNotificationCenter wlr-randr ddcutil" MAINTAINER="Jay Lanagan" EMAIL="j@lngn.net" -- cgit v1.2.3