aboutsummaryrefslogtreecommitdiff
path: root/system/pcmanfm/pcmanfm.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-07-06 08:07:43 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-03 16:34:17 +0700
commit2174f3f57e6e6b77866c43c9ca4124953d8cf0eb (patch)
tree658f8b299e41371d09ab1092bef586c9ab301935 /system/pcmanfm/pcmanfm.SlackBuild
parent860519209bf7c1025daa3c85f01c3d1763ad0498 (diff)
system/pcmanfm: Updated for version 1.2.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/pcmanfm/pcmanfm.SlackBuild')
-rw-r--r--system/pcmanfm/pcmanfm.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/system/pcmanfm/pcmanfm.SlackBuild b/system/pcmanfm/pcmanfm.SlackBuild
index bde3a2949530c..00c7662125fcc 100644
--- a/system/pcmanfm/pcmanfm.SlackBuild
+++ b/system/pcmanfm/pcmanfm.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for PCMan File Manager (PCManFM)
-# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>
+# Copyright 2013,2014 Matteo Bernardini <ponce@slackbuilds.org>
# Copyright 2010 Chris Abela <chris.abela@maltats.com>
# Copyright 2006-2009 Chess Griffin <chess@chessgriffin.com>
# All rights reserved.
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pcmanfm
-VERSION=${VERSION:-20131116_8f55f05}
+VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,6 +58,8 @@ else
LIBDIRSUFFIX=""
fi
+GTK=${GTK:-2}
+
set -e
rm -rf $PKG
@@ -85,17 +87,15 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-debug \
+ --with-gtk=$GTK \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
-# A minor polish
-sed -i 's/Name=File\ Manager/Name=PCMan\ File\ Manager/' \
- $PKG/usr/share/applications/pcmanfm.desktop || exit 1
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# This is empty
+rmdir $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM
+rmdir $PKG/usr/lib$LIBDIRSUFFIX
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done