summaryrefslogtreecommitdiff
path: root/academic/pamlX/pamlX.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <petar.petrov@student.oulu.fi>2014-04-09 17:13:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-09 17:14:26 +0700
commite93a92a31467c73723c6872d462ce0698db3774b (patch)
treee0c27d6ce2d2d438cafd7748bee88d72117685f4 /academic/pamlX/pamlX.SlackBuild
parentd7885d5681195dab58ea1e72a32e56a09be1598c (diff)
downloadslackbuilds-e93a92a31467c73723c6872d462ce0698db3774b.tar.gz
academic/pamlX: Updated for version 1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/pamlX/pamlX.SlackBuild')
-rw-r--r--academic/pamlX/pamlX.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/academic/pamlX/pamlX.SlackBuild b/academic/pamlX/pamlX.SlackBuild
index 86624eb5a2..e07f7e19aa 100644
--- a/academic/pamlX/pamlX.SlackBuild
+++ b/academic/pamlX/pamlX.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pamlX
-# Copyright 2013 Petar Petrov, petar.petrov@student.oulu.fi
+# Copyright 2013-2014 Petar Petrov, petar.petrov@student.oulu.fi
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pamlX
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,19 +63,19 @@ rm -rf $PRGNAM-$VERSION-src
tar xvf $CWD/$PRGNAM-$VERSION-src.tgz
cd $PRGNAM-$VERSION-src
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 {} \;
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix the path where pamlX looks for the paml executables, its config
# file (if necessary it should be in your home directory) and the
# manuals installed by paml.
sed -i 's|QApplication::applicationDirPath()|"/usr"|g' mainwindow.cpp
sed -i 's|+= "/pamlx.conf"|= "~/.pamlX/pamlx.conf"|g' mainwindow.cpp
-sed -i 's|/doc/|/doc/paml-4.7a/|g' mainwindow.cpp
-sed -i 's|/doc/|/doc/paml-4.7a/|g' pamlhistorydialog.cpp
+sed -i 's|/doc/|/doc/paml-4.8/|g' mainwindow.cpp
+sed -i 's|/doc/|/doc/paml-4.8/|g' pamlhistorydialog.cpp
# If you want the "Help" menu to use something else than Okular for
# viewing the PDF documentation, uncomment the appropriate line below