diff options
author | ponce <matteo.bernardini@gmail.com> | 2011-03-31 15:41:06 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-31 15:41:06 -0500 |
commit | cbe0a05b49e54fac496303c12f7d82bb2fd59de7 (patch) | |
tree | a035a1fbd4df7924d90e4a7d4e61547cb881b493 /system/pcmanfm/pcmanfm.SlackBuild | |
parent | bc6ec6cfd3fed8462b03a7767b661d1970c467cf (diff) | |
download | slackbuilds-cbe0a05b49e54fac496303c12f7d82bb2fd59de7.tar.gz |
system/pcmanfm: Updated for version 20110316_9c4603d
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/pcmanfm/pcmanfm.SlackBuild')
-rw-r--r-- | system/pcmanfm/pcmanfm.SlackBuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/system/pcmanfm/pcmanfm.SlackBuild b/system/pcmanfm/pcmanfm.SlackBuild index 56d28d8c9d..b8d61e7c86 100644 --- a/system/pcmanfm/pcmanfm.SlackBuild +++ b/system/pcmanfm/pcmanfm.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pcmanfm -VERSION=0.9.7 +VERSION=20110316_9c4603d BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -63,7 +63,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z cd $PRGNAM-$VERSION chown -R root:root . @@ -73,6 +73,13 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# if you want disable root use warning +if [ "$BEND_ME_OVER" = "kthxbai" ]; then + patch -p1 < $CWD/norootwarning.patch +fi + +sh autogen.sh + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -80,10 +87,11 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ + --disable-debug \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG +make install-strip DESTDIR=$PKG # A minor polish sed -i 's/Name=File\ Manager/Name=PCMan\ File\ Manager/' $PKG/usr/share/applications/pcmanfm.desktop |