mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
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:
parent
1d8e849cb6
commit
11335445ec
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue