summaryrefslogtreecommitdiffstats
path: root/academic/pamlX/pamlX.SlackBuild
diff options
context:
space:
mode:
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