aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo[AT]gmail.com>2010-05-11 22:27:13 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:27:13 +0200
commitc1202c0a7adc4589adcd3456a4c38a908d85d90a (patch)
tree28188c1ff9622e8af2b9dec3ba664325bcebb594 /system
parent33f1cfdaba243f2f8dbc429fc74d6fffbf858c2e (diff)
system/xarchiver: Updated for version 0.5.2
Diffstat (limited to 'system')
-rw-r--r--system/xarchiver/doinst.sh5
-rw-r--r--system/xarchiver/xarchiver.SlackBuild20
-rw-r--r--system/xarchiver/xarchiver.info8
3 files changed, 19 insertions, 14 deletions
diff --git a/system/xarchiver/doinst.sh b/system/xarchiver/doinst.sh
index 22d4849bce4a..65fd35241875 100644
--- a/system/xarchiver/doinst.sh
+++ b/system/xarchiver/doinst.sh
@@ -1,5 +1,4 @@
-
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi
diff --git a/system/xarchiver/xarchiver.SlackBuild b/system/xarchiver/xarchiver.SlackBuild
index e1d71e66bc85..04597f6d83c3 100644
--- a/system/xarchiver/xarchiver.SlackBuild
+++ b/system/xarchiver/xarchiver.SlackBuild
@@ -25,10 +25,11 @@
# Modified by the SlackBuilds.org project
PRGNAM=xarchiver
-VERSION=0.4.6
+VERSION=0.5.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -38,14 +39,18 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
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.* || exit 1
-cd $PRGNAM-$VERSION || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -55,10 +60,11 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- || exit 1
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+make
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/system/xarchiver/xarchiver.info b/system/xarchiver/xarchiver.info
index a52befe5b457..07ae57509e42 100644
--- a/system/xarchiver/xarchiver.info
+++ b/system/xarchiver/xarchiver.info
@@ -1,8 +1,8 @@
PRGNAM="xarchiver"
-VERSION="0.4.6"
+VERSION="0.5.2"
HOMEPAGE="http://xarchiver.xfce.org/"
-DOWNLOAD="http://dl.sourceforge.net/xarchiver/xarchiver-0.4.6.tar.bz2"
-MD5SUM="9700305deef4e2b6878697bd18bd2dd9"
+DOWNLOAD="http://downloads.sourceforge.net/xarchiver/xarchiver-0.5.2.tar.bz2"
+MD5SUM="2bc7f06403cc6582dd4a8029ec9d038d"
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo[AT]gmail.com"
-APPROVED="rworkman"
+APPROVED="dsomero"