diff options
author | Eric Hameleers <alien@slackware.com> | 2017-12-22 00:32:25 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2017-12-22 00:32:25 +0100 |
commit | efc2d632e715498adf632904e2425a5d89e1e44f (patch) | |
tree | 2673594b744349e0baab4fbe5f46f838ec45558c /deps/telepathy/telegram-qt | |
parent | 9afd0194103f57a1a0a3cc843f26b6406ec4fc27 (diff) | |
download | ktown-efc2d632e715498adf632904e2425a5d89e1e44f.tar.gz ktown-efc2d632e715498adf632904e2425a5d89e1e44f.tar.xz |
deps/telepathy: updates and recompilations
Diffstat (limited to 'deps/telepathy/telegram-qt')
-rw-r--r-- | deps/telepathy/telegram-qt/.url | 2 | ||||
-rwxr-xr-x | deps/telepathy/telegram-qt/telegram-qt.SlackBuild | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/deps/telepathy/telegram-qt/.url b/deps/telepathy/telegram-qt/.url index 0c74c27..f182d32 100644 --- a/deps/telepathy/telegram-qt/.url +++ b/deps/telepathy/telegram-qt/.url @@ -1 +1 @@ -https://github.com/Kaffeine/telegram-qt/archive/master.zip +https://github.com/Kaffeine/telegram-qt/archive/telegram-qt-0.1.0.tar.gz diff --git a/deps/telepathy/telegram-qt/telegram-qt.SlackBuild b/deps/telepathy/telegram-qt/telegram-qt.SlackBuild index 634a69b..5d15ce6 100755 --- a/deps/telepathy/telegram-qt/telegram-qt.SlackBuild +++ b/deps/telepathy/telegram-qt/telegram-qt.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2016 Eric Hameleers, Eindhoven, NL +# Copyright 2016, 2017 Eric Hameleers, Eindhoven, NL # Copyright 2016 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # @@ -23,15 +23,15 @@ PKGNAM=telegram-qt -VERSION=${VERSION:-"a0e5734_20161107git"} -BUILD=${BUILD:-1} +VERSION=${VERSION:-"0.1.0"} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:--j7} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$(uname -m)" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;; # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$(uname -m) ;; @@ -39,8 +39,8 @@ if [ -z "$ARCH" ]; then export ARCH fi -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" @@ -68,9 +68,9 @@ PKG=$TMP/package-$PKGNAM rm -rf $PKG mkdir -p $TMP $PKG cd $TMP -rm -rf $PKGNAM-$VERSION -tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1 -cd $PKGNAM-$VERSION || exit 1 +rm -rf ${PKGNAM}*-${VERSION} +tar xvf $CWD/${PKGNAM}*-${VERSION}.tar.?z* || exit 1 +cd ${PKGNAM}*-${VERSION} || exit 1 chown -R root:root . find . \ |