summaryrefslogtreecommitdiff
path: root/network/claws-mail/claws-mail.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 22:25:07 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:25:07 +0200
commit0242b056933d31f673cc4461b727a273dbe8b9a8 (patch)
treea0fb430b8cd59082e421e127345f93f823c8e627 /network/claws-mail/claws-mail.SlackBuild
parentfe16109e0efddfa8c22d9ca5340eabbb200072d3 (diff)
downloadslackbuilds-0242b056933d31f673cc4461b727a273dbe8b9a8.tar.gz
network/claws-mail: Updated for version 3.6.1
Diffstat (limited to 'network/claws-mail/claws-mail.SlackBuild')
-rw-r--r--network/claws-mail/claws-mail.SlackBuild25
1 files changed, 16 insertions, 9 deletions
diff --git a/network/claws-mail/claws-mail.SlackBuild b/network/claws-mail/claws-mail.SlackBuild
index 8ee64f1780..a022e1437e 100644
--- a/network/claws-mail/claws-mail.SlackBuild
+++ b/network/claws-mail/claws-mail.SlackBuild
@@ -4,10 +4,11 @@
# Written by Erik Hanson erik@slackbuilds.org
PRGNAM=claws-mail
-VERSION=3.3.1
+VERSION=3.6.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -19,12 +20,14 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
+set -eu
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || 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 .
@@ -35,17 +38,21 @@ CFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--enable-static=no \
- || exit 1
+ --build=$ARCH-slackware-linux
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+make
+make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man?/*.?
-mkdir -p $PKG/usr/doc $PKG/install
+
+mkdir -p $PKG/usr/doc
mv $PKG/usr/share/doc/claws-mail $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share/doc
-cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh