aboutsummaryrefslogtreecommitdiff
path: root/system/pcmanfm/pcmanfm.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-08-27 12:27:31 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-30 14:21:56 +0700
commitbd8268f5b115be7798a7d56fe240182384253c0a (patch)
tree3e60bc2042cd3fb1a66d4c75312bb7b194f5b003 /system/pcmanfm/pcmanfm.SlackBuild
parent9db5cd314013ed4c42dbbceefa36985dda9fab73 (diff)
system/pcmanfm: Updated for version 1.2.2.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 00c7662125fcc..39c46143736dd 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