aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Abela <chris.abela@maltats.com>2010-05-13 00:41:19 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:41:19 +0200
commit16a55398931d5d9ac6263b91d7cd2bde2ee21288 (patch)
tree0d14825c4316224e26757c20a81e85525c3481c5
parentc82b055279ee22329a579c4310cffd180f3e3c7f (diff)
system/pcmanfm: Updated for version 0.5.2
-rw-r--r--system/pcmanfm/pcmanfm.SlackBuild30
-rw-r--r--system/pcmanfm/pcmanfm.info14
2 files changed, 24 insertions, 20 deletions
diff --git a/system/pcmanfm/pcmanfm.SlackBuild b/system/pcmanfm/pcmanfm.SlackBuild
index d92215a31f12..42c47a72838e 100644
--- a/system/pcmanfm/pcmanfm.SlackBuild
+++ b/system/pcmanfm/pcmanfm.SlackBuild
@@ -23,9 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pcmanfm
-VERSION=0.5
+VERSION=0.5.2
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -46,12 +46,19 @@ elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
-cd $PRGNAM-$VERSION || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+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 \) \
@@ -66,10 +73,10 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
-|| exit 1
+ --build=$ARCH-slackware-linux
-make || exit 1
-make install DESTDIR=$PKG || exit 1
+make
+make install DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
@@ -78,11 +85,6 @@ make install DESTDIR=$PKG || exit 1
xargs strip --strip-unneeded 2> /dev/null
)
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -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
@@ -93,4 +95,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/pcmanfm/pcmanfm.info b/system/pcmanfm/pcmanfm.info
index ca8911df25f1..3a123320a6ae 100644
--- a/system/pcmanfm/pcmanfm.info
+++ b/system/pcmanfm/pcmanfm.info
@@ -1,8 +1,10 @@
PRGNAM="pcmanfm"
-VERSION="0.5"
+VERSION="0.5.2"
HOMEPAGE="http://pcmanfm.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/pcmanfm/pcmanfm-0.5.tar.gz"
-MD5SUM="fe1a836eed6a42107e7d71a01a52f7ec"
-MAINTAINER="Chess Griffin"
-EMAIL="chess@chessgriffin.com"
-APPROVED="dsomero"
+DOWNLOAD="http://downloads.sourceforge.net/pcmanfm/pcmanfm-0.5.2.tar.bz2"
+MD5SUM="750f89cbe7496e5f4c09e4c5a95dec6e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Chris Abela"
+EMAIL="chris.abela@maltats.com"
+APPROVED="Erik Hanson"