diff --git a/desktop/lxappearance/README b/desktop/lxappearance/README index 47945eed39..2636aec429 100644 --- a/desktop/lxappearance/README +++ b/desktop/lxappearance/README @@ -4,8 +4,8 @@ change the theme, icons, and fonts used by applications easily. If you want to build this without dbus support (ex. you are building not to use this inside of LXDE) pass to the script the switch: - DBUS=no + DBUS=no -If you want to build this for GTK+3, pass to the script the switch +If you want to build this for gtk+2, pass to the script the switch - GTK3=yes + GTK3=no diff --git a/desktop/lxappearance/lxappearance.SlackBuild b/desktop/lxappearance/lxappearance.SlackBuild index d9ccdad1a1..cceb060b56 100644 --- a/desktop/lxappearance/lxappearance.SlackBuild +++ b/desktop/lxappearance/lxappearance.SlackBuild @@ -1,14 +1,31 @@ #!/bin/bash # Slackware build script for LXAppearance - -# Originally by "majk" +# Copyright 2019-2024 Matteo Bernardini , Pisa, Italy +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lxappearance VERSION=${VERSION:-0.6.3} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -20,9 +37,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 @@ -46,13 +60,9 @@ else LIBDIRSUFFIX="" fi -DBUS=${DBUS:-yes} -DBUS_SUPPORT="--enable-dbus" -[ "$DBUS" = "no" ] && DBUS_SUPPORT="" +DBUS_SUPPORT="--enable-dbus" ; [ "${DBUS:-yes}" = "no" ] && DBUS_SUPPORT="" - -WITHGTK3="" -[ "${GTK3:-no}" = "yes" ] && WITHGTK3="--enable-gtk3" +WITHGTK3="--enable-gtk3" ; [ "${GTK3:-yes}" = "no" ] && WITHGTK3="" set -e