academic/pamlX: Amended to build with paml 4.9e.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Petar Petrov 2017-04-16 22:04:53 +01:00 committed by Willy Sudiarto Raharjo
parent 59cac45df1
commit 6f7181339b

View file

@ -24,7 +24,7 @@
PRGNAM=pamlX
VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-3}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -74,8 +74,8 @@ find -L . \
# 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.9c/|g' mainwindow.cpp
sed -i 's|/doc/|/doc/paml-4.9c/|g' pamlhistorydialog.cpp
sed -i 's|/doc/|/doc/paml-4.9e/|g' mainwindow.cpp
sed -i 's|/doc/|/doc/paml-4.9e/|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