summaryrefslogtreecommitdiff
path: root/office/texworks/texworks.SlackBuild
diff options
context:
space:
mode:
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" \