aboutsummaryrefslogtreecommitdiff
path: root/system/pcmanfm/pcmanfm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/pcmanfm/pcmanfm.SlackBuild')
-rw-r--r--system/pcmanfm/pcmanfm.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/system/pcmanfm/pcmanfm.SlackBuild b/system/pcmanfm/pcmanfm.SlackBuild
index e919aa3934..852d5f2cae 100644
--- a/system/pcmanfm/pcmanfm.SlackBuild
+++ b/system/pcmanfm/pcmanfm.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2006-2009 Chess Griffin <chess@chessgriffin.com>
# Copyright 2010 Chris Abela <chris.abela@maltats.com>
-# Copyright 2011-2021 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
@@ -32,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pcmanfm
VERSION=${VERSION:-1.3.2}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,10 +67,7 @@ else
LIBDIRSUFFIX=""
fi
-case "$GTK" in
- 3) gtk="--with-gtk=3" ;;
- *) gtk="--with-gtk=2" ;;
-esac
+gtk="--with-gtk=3" ; [ "${GTK3:-yes}" = "no" ] && gtk="--with-gtk=2"
DOCS="AUTHORS COPYING NEWS README TODO"