development/tea: Updated for version 44.1.1 + new maintainer.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Isaac Yu 2018-01-13 17:24:53 +00:00 committed by Willy Sudiarto Raharjo
parent 70cc380dcc
commit 29ecf0a58a
4 changed files with 47 additions and 14 deletions

View File

@ -1,2 +1,7 @@
TEA is the text text editor for UNIX-like systems and Windows. With an
TEA is the text editor for UNIX-like systems and Windows. With an
ultimate small size, TEA provides you hundreds of functions.
If you prefer to build TEA against Qt5 rather than Qt4, install
qt5 (available from SlackBuilds.org) and run the script like that:
USE_QT5=yes ./tea.SlackBuild

View File

@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View File

@ -3,14 +3,35 @@
# Slackware build script for tea
# Written by Nai (bluedbs@gmail.com)
# Copyright 2018 Isaac Yu <isaacyu1@isaacyu1.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tea
VERSION=${VERSION:-37.2.1}
VERSION=${VERSION:-44.1.1}
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 +42,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"
@ -50,10 +71,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
qmake \
"PREFIX=/usr/bin" \
"QMAKE_CXXFLAGS+=$SLKCFLAGS" \
"QMAKE_CFLAGS+=$SLKCFLAGS"
if [ ${USE_QT5:-no} = yes]; then
qmake-qt5 "PREFIX=/usr/bin" "QMAKE_CXXFLAGS+=$SLKCFLAGS" "QMAKE_CFLAGS+=$SLKCFLAGS"
else
qmake "PREFIX=/usr/bin" "QMAKE_CXXFLAGS+=$SLKCFLAGS" "QMAKE_CFLAGS+=$SLKCFLAGS"
fi
make
make install INSTALL_ROOT=$PKG

View File

@ -1,10 +1,10 @@
PRGNAM="tea"
VERSION="37.2.1"
VERSION="44.1.1"
HOMEPAGE="http://semiletov.org/tea/"
DOWNLOAD="http://semiletov.org/tea/dloads/tea-37.2.1.tar.bz2"
MD5SUM="a74c2d18cc2cace9d961d1a215b19e31"
DOWNLOAD="http://semiletov.org/tea/dloads/tea-44.1.1.tar.bz2"
MD5SUM="04fea62bfa425b2d81244717a108f078"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Nai"
EMAIL="bluedbs@gmail.com"
MAINTAINER="Isaac Yu"
EMAIL="isaacyu@isaacyu1.com"