summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--office/texworks/texworks.SlackBuild11
-rw-r--r--office/texworks/texworks.info6
2 files changed, 12 insertions, 5 deletions
diff --git a/office/texworks/texworks.SlackBuild b/office/texworks/texworks.SlackBuild
index d99e77ce25..4cb937444a 100644
--- a/office/texworks/texworks.SlackBuild
+++ b/office/texworks/texworks.SlackBuild
@@ -3,9 +3,11 @@
# Slackware build script for TeXworks
# Written by digwtx (wtx358@qq.com)
+# Updated by Willy Sudiarto Raharjo
PRGNAM=texworks
-VERSION=${VERSION:-0.2.3}
+GVERSION=${GVERSION:-0.4.4-r1004}
+VERSION=${VERSION:-0.4.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,9 +46,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$GVERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
qmake -unix PREFIX=/usr \
QMAKE_CFLAGS_RELEASE="$SLKCFLAGS" \
diff --git a/office/texworks/texworks.info b/office/texworks/texworks.info
index ebbc4c8035..41e1fa9b07 100644
--- a/office/texworks/texworks.info
+++ b/office/texworks/texworks.info
@@ -1,8 +1,8 @@
PRGNAM="texworks"
-VERSION="0.2.3"
+VERSION="0.4.4"
HOMEPAGE="http://code.google.com/p/texworks/"
-DOWNLOAD="http://texworks.googlecode.com/files/texworks-0.2.3.tar.gz"
-MD5SUM="feb87fdb90725ddb75df6956656253fe"
+DOWNLOAD="https://texworks.googlecode.com/files/texworks-0.4.4-r1004.tar.gz"
+MD5SUM="e5e70cd9671f7f8d6ff7978ebcbaa9b4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""