aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/trojita/slack-desc6
-rw-r--r--network/trojita/trojita.SlackBuild14
-rw-r--r--network/trojita/trojita.info8
3 files changed, 15 insertions, 13 deletions
diff --git a/network/trojita/slack-desc b/network/trojita/slack-desc
index 0862d1aa83e44..19c6a4718b977 100644
--- a/network/trojita/slack-desc
+++ b/network/trojita/slack-desc
@@ -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:
diff --git a/network/trojita/trojita.SlackBuild b/network/trojita/trojita.SlackBuild
index 28e73bf560ec7..0b9f72d426382 100644
--- a/network/trojita/trojita.SlackBuild
+++ b/network/trojita/trojita.SlackBuild
@@ -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} \
.
diff --git a/network/trojita/trojita.info b/network/trojita/trojita.info
index 23a6e7c25b723..20fda82343729 100644
--- a/network/trojita/trojita.info
+++ b/network/trojita/trojita.info
@@ -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"