summaryrefslogtreecommitdiffstats
path: root/desktop/lxappearance
diff options
context:
space:
mode:
author Matteo Bernardini2024-04-24 14:37:42 +0200
committer Willy Sudiarto Raharjo2024-04-27 04:28:38 +0200
commit84c9c84141dc2302d1beb0cb0a3fa1e709633a86 (patch)
treea7346af60faf03dfef731a9b0ebebb64d5714007 /desktop/lxappearance
parent758643bd51547c485f177b5984744c5bd7856896 (diff)
downloadslackbuilds-84c9c84141dc2302d1beb0cb0a3fa1e709633a86.tar.gz
desktop/lxappearance: Switch to gtk+3 by default, add a license.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/lxappearance')
-rw-r--r--desktop/lxappearance/README6
-rw-r--r--desktop/lxappearance/lxappearance.SlackBuild34
2 files changed, 25 insertions, 15 deletions
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" <majk@konstelacioj.info>
+# Copyright 2019-2024 Matteo Bernardini <ponce@slackbuilds.org>, 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