academic/pamlX: Updated for paml-4.9g compatibility.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Petar Petrov 2018-01-12 20:59:09 +00:00 committed by Willy Sudiarto Raharjo
parent 354557ac88
commit f9d110cf94

View file

@ -2,7 +2,7 @@
# Slackware build script for pamlX
# Copyright 2013-2016 Petar Petrov slackalaxy@gmail.com
# Copyright 2013-2018 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
PRGNAM=pamlX
VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-4}
BUILD=${BUILD:-5}
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.9e/|g' mainwindow.cpp
sed -i 's|/doc/|/doc/paml-4.9e/|g' pamlhistorydialog.cpp
sed -i 's|/doc/|/doc/paml-4.9g/|g' mainwindow.cpp
sed -i 's|/doc/|/doc/paml-4.9g/|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