aboutsummaryrefslogtreecommitdiff
path: root/office/texworks
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-22 08:04:52 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-22 11:40:55 -0500
commitfa401ed5dd716aec0976342506c443ad06144316 (patch)
treeebc115eaf4371b576d0a36075ada6d6ce2bf8ce8 /office/texworks
parent30f5d5b94a12ec777b7b40985c6c4bf1061f6b01 (diff)
office/texworks: Updated for version 0.4.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/texworks')
-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 d99e77ce25f87..4cb937444a6d0 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 ebbc4c8035f9c..41e1fa9b0726f 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=""