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.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