summaryrefslogtreecommitdiffstats
path: root/office/texmaker
diff options
context:
space:
mode:
Diffstat (limited to 'office/texmaker')
-rw-r--r--office/texmaker/texmaker.SlackBuild21
-rw-r--r--office/texmaker/texmaker.info12
2 files changed, 23 insertions, 10 deletions
diff --git a/office/texmaker/texmaker.SlackBuild b/office/texmaker/texmaker.SlackBuild
index f2118f6a3c..6cf8bc0a3a 100644
--- a/office/texmaker/texmaker.SlackBuild
+++ b/office/texmaker/texmaker.SlackBuild
@@ -1,10 +1,13 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for texmaker
# Copyright 2013-2020 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
+# Copyright 2024 Emmanuel N. Millan, Mendoza, Argentina.
+# All rights reserved.
+#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
@@ -22,10 +25,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=texmaker
-VERSION=${VERSION:-5.0.4}
+VERSION=${VERSION:-5.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -99,4 +112,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/texmaker/texmaker.info b/office/texmaker/texmaker.info
index 2ef1173322..9e3d160bd5 100644
--- a/office/texmaker/texmaker.info
+++ b/office/texmaker/texmaker.info
@@ -1,10 +1,10 @@
PRGNAM="texmaker"
-VERSION="5.0.4"
+VERSION="5.1.4"
HOMEPAGE="https://www.xm1math.net/texmaker/index.html"
-DOWNLOAD="https://www.xm1math.net/texmaker/texmaker-5.0.4.tar.bz2"
-MD5SUM="9e9676a300d0e5932c0172a1f732485c"
+DOWNLOAD="https://www.xm1math.net/texmaker/texmaker-5.1.4.tar.bz2"
+MD5SUM="8730de999918c95061949a480fa2265a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+REQUIRES=""
+MAINTAINER="Emmanuel N. Millan"
+EMAIL="emmanueln@gmail.com"