summaryrefslogtreecommitdiffstats
path: root/desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild')
-rw-r--r--desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild b/desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild
index bd58521f3f..26a3121ca1 100644
--- a/desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild
+++ b/desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for lxappearance-obconf
-# Copyright 2011-2017 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2011-2024 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lxappearance-obconf
VERSION=${VERSION:-0.2.3}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -41,9 +41,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
@@ -86,6 +83,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+if [ "$GTK3" = "--enable-gtk3" ]; then sed -i /frame1/,+19d src/obconf.glade ; fi
+
sh autogen.sh || true
CFLAGS="$SLKCFLAGS" \