diff options
author | Chris Abela <chris.abela@maltats.com> | 2010-08-28 08:15:35 -0400 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-08-29 15:32:14 -0500 |
commit | 2164cbb85477aab27ae2b3859fd84d3b0970f06d (patch) | |
tree | 10e3dca45ae163150ca6d73af26311f6110c2097 /system/pcmanfm/pcmanfm.SlackBuild | |
parent | a50da4fd0ec358e05361fb573c6202e037646a47 (diff) | |
download | slackbuilds-2164cbb85477aab27ae2b3859fd84d3b0970f06d.tar.gz |
system/pcmanfm: Updated for version 0.9.7.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/pcmanfm/pcmanfm.SlackBuild')
-rw-r--r-- | system/pcmanfm/pcmanfm.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/system/pcmanfm/pcmanfm.SlackBuild b/system/pcmanfm/pcmanfm.SlackBuild index c87a62e83a..56d28d8c9d 100644 --- a/system/pcmanfm/pcmanfm.SlackBuild +++ b/system/pcmanfm/pcmanfm.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for PCMan File Manager (PCManFM) +# Copyright 2010 Chris Abela <chris.abela@maltats.com> # Copyright 2006-2009 Chess Griffin <chess@chessgriffin.com> # All rights reserved. # @@ -23,16 +24,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pcmanfm -VERSION=0.5.2 +VERSION=0.9.7 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -64,13 +63,9 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION -# Let it never be said that any minor bug -# will stop Slackers from building their packages: -sed -i 's/Within Selected Date Range/Within Selected Date Range\\n/' po/ca.po - chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -90,6 +85,9 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +# A minor polish +sed -i 's/Name=File\ Manager/Name=PCMan\ File\ Manager/' $PKG/usr/share/applications/pcmanfm.desktop + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |