diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-08-15 11:54:50 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 15:36:50 -0500 |
commit | 5ecd5b4650e918f0f2fee3ab80da32c87857e5a5 (patch) | |
tree | a46a6ea0d3a51c909dacae4f49b6561eda0b433f /system/pcmanfm/pcmanfm.SlackBuild | |
parent | 0954e9006846037c7afb714f374beb0167d64a7f (diff) | |
download | slackbuilds-5ecd5b4650e918f0f2fee3ab80da32c87857e5a5.tar.gz |
system/pcmanfm: Updated for version 1.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/pcmanfm/pcmanfm.SlackBuild')
-rw-r--r-- | system/pcmanfm/pcmanfm.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/system/pcmanfm/pcmanfm.SlackBuild b/system/pcmanfm/pcmanfm.SlackBuild index 967ab5a5e1..9f42b1f7f8 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=${VERSION:-0.9.10} +VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,11 +73,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# a small fix from git -patch -p1 < $CWD/window-resize.patch - sh autogen.sh || true +LDFLAGS="-lm" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -85,8 +83,8 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ + --mandir=/usr/man \ --disable-debug \ - --disable-static \ --build=$ARCH-slackware-linux make @@ -98,6 +96,9 @@ sed -i 's/Name=File\ Manager/Name=PCMan\ File\ Manager/' $PKG/usr/share/applicat find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +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 + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |