summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2022-03-05 07:51:08 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-05 07:51:08 +0700
commitb6633dcce5cb35fc073872f044020220b7d95d21 (patch)
tree894a4674935d27dc7b9354b2f75689c7d23e9087
parent4c80767747760d3771b3fd2ffda5757404692532 (diff)
downloadslackbuilds-b6633dcce5cb35fc073872f044020220b7d95d21.tar.gz
office/texworks: Updated for version 0.6.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/texworks/slack-desc4
-rw-r--r--office/texworks/texworks.SlackBuild43
-rw-r--r--office/texworks/texworks.info6
3 files changed, 23 insertions, 30 deletions
diff --git a/office/texworks/slack-desc b/office/texworks/slack-desc
index 3d9cc0bf43..3736cd4630 100644
--- a/office/texworks/slack-desc
+++ b/office/texworks/slack-desc
@@ -6,13 +6,13 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-texworks: texworks (A TeX IDE)
+texworks: texworks (lowering the entry barrier to the TeX world)
texworks:
texworks: TeXworks is an effort to build a simple TeX front-end. The
texworks: integrated PDF viewer supports control-clicking within the source
texworks: text to locate the corresponding position in the PDF, and vice versa.
texworks:
-texworks: Homepage: http://tug.org/texworks/
+texworks: https://tug.org/texworks/
texworks:
texworks:
texworks:
diff --git a/office/texworks/texworks.SlackBuild b/office/texworks/texworks.SlackBuild
index a069b589a8..162fe1889b 100644
--- a/office/texworks/texworks.SlackBuild
+++ b/office/texworks/texworks.SlackBuild
@@ -4,7 +4,7 @@
# Written by digwtx (wtx358@qq.com)
# Updated by Willy Sudiarto Raharjo
-# Copyright 2016 - 2019 Johannes Schoepfer, Germany
+# Copyright 2016 - 2022 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=texworks
-VERSION=${VERSION:-0.6.6}
+VERSION=${VERSION:-0.6.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -81,35 +78,31 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-( mkdir build
- cd build
- #-DWITH_LUA='ON' \
+mkdir build
+cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DTeXworks_PLUGIN_DIR="/usr/lib$LIBDIRSUFFIX/texworks" \
- -DTW_BUILD_ID='slackbuilds.org' \
- -DWITH_PYTHON='ON' \
- -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 \
- -DDESIRED_QT_VERSION:STRING=4 \
- -DBUILD_SHARED_LIBS=ON \
- -DCMAKE_BUILD_TYPE=Release ..
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DTeXworks_PLUGIN_DIR="/usr/lib$LIBDIRSUFFIX/texworks" \
+ -DTW_BUILD_ID='slackbuilds.org' \
+ -DWITH_PYTHON='ON' \
+ -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
make
make install DESTDIR=$PKG
-)
+cd ..
-#-DMAN_INSTALL_DIR=/usr/man doesn't work here
mkdir -p $PKG/usr/man/man1
cat $PKG/usr/share/man/man1/texworks.1 | gzip > $PKG/usr/man/man1/texworks.1.gz
rm -rf $PKG/usr/share/man
-( mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
- cd $PKG/usr/share/doc/texworks
- mv COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
-)
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp $PKG/usr/share/doc/texworks/{COPYING,NEWS,README.md} \
+ $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share/doc
-
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG | xargs file | grep -e "executable" -e "shared object" \
diff --git a/office/texworks/texworks.info b/office/texworks/texworks.info
index c9048df0db..f7fe48e806 100644
--- a/office/texworks/texworks.info
+++ b/office/texworks/texworks.info
@@ -1,8 +1,8 @@
PRGNAM="texworks"
-VERSION="0.6.6"
+VERSION="0.6.7"
HOMEPAGE="https://tug.org/texworks/"
-DOWNLOAD="https://github.com/TeXworks/texworks/archive/release-0.6.6/texworks-release-0.6.6.tar.gz"
-MD5SUM="2ed9993e6fe459432ca6097a192ca10e"
+DOWNLOAD="https://github.com/TeXworks/texworks/archive/release-0.6.7/texworks-release-0.6.7.tar.gz"
+MD5SUM="da4ec91ed962e6b87baed8f88d4ef7dc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""