summaryrefslogtreecommitdiffstats
path: root/system/pcmanfm/pcmanfm.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2013-11-05 17:04:09 +0100
committer Robby Workman2013-11-06 07:57:29 +0100
commit2c552ec93e6874851646626dd0e1e412591a3900 (patch)
treeeb275391accff1391f058e2cf55a39daf5155cc7 /system/pcmanfm/pcmanfm.SlackBuild
parent7423152ca41ea24cdb567297e73ff943ba1eff3e (diff)
downloadslackbuilds-2c552ec93e6874851646626dd0e1e412591a3900.tar.gz
system/pcmanfm: Updated for version 20131105_317c171.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/pcmanfm/pcmanfm.SlackBuild')
-rw-r--r--system/pcmanfm/pcmanfm.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/system/pcmanfm/pcmanfm.SlackBuild b/system/pcmanfm/pcmanfm.SlackBuild
index b770311088..b4c7eebcf1 100644
--- a/system/pcmanfm/pcmanfm.SlackBuild
+++ b/system/pcmanfm/pcmanfm.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for PCMan File Manager (PCManFM)
+# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>
# Copyright 2010 Chris Abela <chris.abela@maltats.com>
# Copyright 2006-2009 Chess Griffin <chess@chessgriffin.com>
# All rights reserved.
@@ -24,8 +25,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pcmanfm
-VERSION=${VERSION:-1.1.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-20131105_317c171}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -73,10 +74,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Apply patches from upstream
-for i in $CWD/patches/* ; do patch -p1 < $i ; done
-
-autoreconf -fi
+sh autogen.sh || true
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -93,7 +91,8 @@ 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
+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