network/trojita: Updated for version 0.7.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Chris Farrell 2016-08-26 21:29:47 +01:00 committed by David Spencer
parent 54a9409f82
commit 8c0def9528
3 changed files with 15 additions and 13 deletions

View file

@ -9,9 +9,9 @@
trojita: trojita (Qt IMAP e-mail client)
trojita:
trojita: Enables you to access your mail anytime, anywhere.
trojita: Does not slow you down. Respects open standards and facilitate modern
trojita: technologies. Interoperable as possible and efficient, be it at
trojita: conserving the network bandwidth, keeping memory use at a reasonable
trojita: Does not slow you down. Respects open standards and facilitate modern
trojita: technologies. Interoperable as possible and efficient, be it at
trojita: conserving the network bandwidth, keeping memory use at a reasonable
trojita: level or not hogging the system's CPU. Can be used on many platforms.
trojita:
trojita:

View file

@ -4,13 +4,13 @@
# Written by Chris Farrell <timcowchip@gmail.com>
PRGNAM=trojita
VERSION=${VERSION:-0.4.1}
VERSION=${VERSION:-0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -21,8 +21,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -43,18 +43,20 @@ 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.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DQT_QMAKE_EXECUTABLE=qmake-qt5 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
.

View file

@ -1,10 +1,10 @@
PRGNAM="trojita"
VERSION="0.4.1"
VERSION="0.7"
HOMEPAGE="http://trojita.flaska.net/index.html"
DOWNLOAD="http://sourceforge.net/projects/trojita/files/src/trojita-0.4.1.tar.bz2"
MD5SUM="130c9e51bb71564511ab123f88236850"
DOWNLOAD="http://downloads.sourceforge.net/trojita/trojita-0.7.tar.xz"
MD5SUM="b2b5720be888ec6298a88798b113ad5f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
REQUIRES="qt5-webkit"
MAINTAINER="Chris Farrell"
EMAIL="timcowchip@gmail.com"