summaryrefslogtreecommitdiffstats
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, 6 insertions, 3 deletions
diff --git a/system/pcmanfm/pcmanfm.SlackBuild b/system/pcmanfm/pcmanfm.SlackBuild
index 00c7662125..39c4614373 100644
--- a/system/pcmanfm/pcmanfm.SlackBuild
+++ b/system/pcmanfm/pcmanfm.SlackBuild
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pcmanfm
-VERSION=${VERSION:-1.2.1}
+VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,7 +58,10 @@ else
LIBDIRSUFFIX=""
fi
-GTK=${GTK:-2}
+case "$GTK" in
+ 3) gtk="--with-gtk=3" ;;
+ *) gtk="--with-gtk=2" ;;
+esac
set -e
@@ -87,7 +90,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-debug \
- --with-gtk=$GTK \
+ $gtk \
--build=$ARCH-slackware-linux
make