diff options
Diffstat (limited to 'desktop/lxqt-panel/lxqt-panel.SlackBuild')
-rw-r--r-- | desktop/lxqt-panel/lxqt-panel.SlackBuild | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/desktop/lxqt-panel/lxqt-panel.SlackBuild b/desktop/lxqt-panel/lxqt-panel.SlackBuild index f1e36e52a3..3dc8b4d163 100644 --- a/desktop/lxqt-panel/lxqt-panel.SlackBuild +++ b/desktop/lxqt-panel/lxqt-panel.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for lxqt-panel -# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com> +# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lxqt-panel -VERSION=${VERSION:-1.1.0} -BUILD=${BUILD:-1} +VERSION=${VERSION:-1.3.0} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -80,18 +77,14 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Build with libstatgrab as optional dependency (enable CPU Load and Network Monitor plugins) -if [ ${LIBSTATGRAB:-no} = yes ]; then - ENABLE_STATGRAB=YES -else - ENABLE_STATGRAB=NO -fi +[ ${LIBSTATGRAB:-no} = yes ] && ENABLE_STATGRAB=YES || ENABLE_STATGRAB=NO # Build with libsysstat as optional dependency (enable System Stats plugin) -if [ ${LIBSYSSTAT:-no} = yes ]; then - ENABLE_SYSSTAT=YES -else - ENABLE_SYSSTAT=NO -fi +[ ${LIBSYSSTAT:-no} = yes ] && ENABLE_SYSSTAT=YES || ENABLE_SYSSTAT=NO + +# lxqt-panel should not install files already included within lxqt-menu-data +# Also, explicitly set the lxqt-menu-data requirement +patch -p1 < $CWD/lxqt-do_not_require_lxmenu_data.patch mkdir build cd build |