summaryrefslogtreecommitdiff
path: root/network/gajim/gajim.SlackBuild
diff options
context:
space:
mode:
authorMorten Juhl-Johansen Zölde-Fejér <mjjzf@syntaktisk.dk>2010-05-12 17:43:22 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:43:22 +0200
commit13f7898d940099843af3e7875e25629655b21c12 (patch)
tree76c8a0eacb1091e98e078c3f83d9e5cc0536f2fa /network/gajim/gajim.SlackBuild
parentbd4a05a0db99d9ea7a2ce614da51731d70dfeb56 (diff)
downloadslackbuilds-13f7898d940099843af3e7875e25629655b21c12.tar.gz
network/gajim: Updated for version 0.12.1
Diffstat (limited to 'network/gajim/gajim.SlackBuild')
-rw-r--r--network/gajim/gajim.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/network/gajim/gajim.SlackBuild b/network/gajim/gajim.SlackBuild
index 5d5016a34f..fdab5dd621 100644
--- a/network/gajim/gajim.SlackBuild
+++ b/network/gajim/gajim.SlackBuild
@@ -2,12 +2,11 @@
# Slackware build script for gajim
# Written by Martin Lefebvre (dadexter@sekurity.com)
-
# Slightly modified by the SlackBuild Project
-set -e
+# - and once again by Morten Juhl-Johansen Zölde-Fejér <mjjzf@syntaktisk.dk>
PRGNAM=gajim
-VERSION=0.11.4
+VERSION=0.12.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -25,11 +24,13 @@ elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
+set -e
+
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.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -42,10 +43,10 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- || exit 1
+ --build=$ARCH-slackware-linux
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+make
+make install-strip DESTDIR=$PKG
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;