office/texmaker: Updated for version 4.1.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Larry Hajali 2014-01-05 09:38:33 +07:00 committed by Erik Hanson
parent 5bf85cc0e0
commit 4a4fb94799
3 changed files with 18 additions and 7 deletions

View File

@ -1,3 +1,8 @@
Texmaker is a free LaTeX editor that integrates many
tools needed to develop documents with LaTeX in just
one application.
Note: Texmaker can be optionally compiled with
poppler-qt5 by passing the argument QT5GUI=yes.
QT5GUI=yes ./texmaker.SlackBuild

View File

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=texmaker
VERSION=${VERSION:-4.1}
VERSION=${VERSION:-4.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,8 +69,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
qmake LIBS+="-L/usr/lib${LIBDIRSUFFIX}" QMAKE_CFLAGS+="$SLKCFLAGS" \
QMAKE_CXXFLAGS+="$SLKCFLAGS" -o Makefile $PRGNAM.pro
# Check for Qt5 or else drop back to Qt4.
if [ "${QT5GUI:-no}" == "yes" ]; then
qmake-qt5 LIBS+="-L/usr/lib${LIBDIRSUFFIX}" QMAKE_CFLAGS+="$SLKCFLAGS" \
QMAKE_CXXFLAGS+="$SLKCFLAGS" -o Makefile $PRGNAM.pro
else
qmake LIBS+="-L/usr/lib${LIBDIRSUFFIX}" QMAKE_CFLAGS+="$SLKCFLAGS" \
QMAKE_CXXFLAGS+="$SLKCFLAGS" -o Makefile $PRGNAM.pro
fi
make
make install INSTALL_ROOT=$PKG

View File

@ -1,10 +1,10 @@
PRGNAM="texmaker"
VERSION="4.1"
VERSION="4.1.1"
HOMEPAGE="http://www.xm1math.net/texmaker/index.html"
DOWNLOAD="http://www.xm1math.net/texmaker/texmaker-4.1.tar.bz2"
MD5SUM="97ef7f97e73d69283391e467e5758275"
DOWNLOAD="http://www.xm1math.net/texmaker/texmaker-4.1.1.tar.bz2"
MD5SUM="0b26fe9e29b37eeaf98e568a096d2dad"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
REQUIRES="%README%"
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"