academic/pamlX: Updated to build with paml-4.9h.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Petar Petrov 2018-06-17 23:40:24 +01:00 committed by David Spencer
parent ad89b8f794
commit 7cb513baae
1 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@
PRGNAM=pamlX
VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-5}
BUILD=${BUILD:-6}
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.9g/|g' mainwindow.cpp
sed -i 's|/doc/|/doc/paml-4.9g/|g' pamlhistorydialog.cpp
sed -i 's|/doc/|/doc/paml-4.9h/|g' mainwindow.cpp
sed -i 's|/doc/|/doc/paml-4.9h/|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