system/pcmanfm: Updated for version 1.2.1.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2014-07-06 08:07:43 +02:00 committed by Willy Sudiarto Raharjo
parent 860519209b
commit 2174f3f57e
3 changed files with 18 additions and 13 deletions

View File

@ -1,6 +1,11 @@
PCManFM is an extremely fast and lightweight GTK+ based file manager
which features tabbed browsing and a user-friendly interface.
If you have problems viewing icons on pcmanfm, include this line to
your $HOME/.gtkrc-2.0:
By default the gtk+2 version is built: if you prefer to build the
gtk+3 one pass the script the parameter GTK=3, like
GTK=3 ./pcmanfm.SlackBuild
If you have problems viewing icons on pcmanfm and you're using the
gtk+2 version, include this line to your $HOME/.gtkrc-2.0:
gtk-icon-theme-name="Tango"

View File

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

View File

@ -1,8 +1,8 @@
PRGNAM="pcmanfm"
VERSION="20131116_8f55f05"
VERSION="1.2.1"
HOMEPAGE="http://pcmanfm.sourceforge.net"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxde/pcmanfm-20131116_8f55f05.tar.xz"
MD5SUM="b565e34e0ec4a15076f47bcd22627a8c"
DOWNLOAD="http://downloads.sf.net/pcmanfm/pcmanfm-1.2.1.tar.xz"
MD5SUM="66e634aff37dbc6d7204570df041152f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libfm"