summaryrefslogtreecommitdiff
path: root/office/texworks/texworks.SlackBuild
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/texworks.SlackBuild
parent30f5d5b94a12ec777b7b40985c6c4bf1061f6b01 (diff)
downloadslackbuilds-fa401ed5dd716aec0976342506c443ad06144316.tar.gz
office/texworks: Updated for version 0.4.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/texworks/texworks.SlackBuild')
-rw-r--r--office/texworks/texworks.SlackBuild11
1 files changed, 9 insertions, 2 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" \