academic/pamlX: Fix paml docs dir.

Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Petar Petrov 2023-04-20 18:58:34 +01:00 committed by Willy Sudiarto Raharjo
parent 1d8e849cb6
commit 11335445ec
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -2,7 +2,7 @@
# Slackware build script for pamlX
# Copyright 2013-2022 Petar Petrov slackalaxy@gmail.com
# Copyright 2013-2023 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pamlX
VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-7}
BUILD=${BUILD:-8}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -86,8 +86,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.10.5/|g' mainwindow.cpp
sed -i 's|/doc/|/doc/paml-4.10.5/|g' pamlhistorydialog.cpp
sed -i 's|/doc/|/doc/paml-4.10.6/|g' mainwindow.cpp
sed -i 's|/doc/|/doc/paml-4.10.6/|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