academic/pamlX: Build bump for paml-4.9c.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Petar Petrov 2016-11-26 23:06:57 +00:00 committed by Willy Sudiarto Raharjo
parent 8b5da50bf5
commit 475411e46f
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -24,12 +24,12 @@
PRGNAM=pamlX
VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -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.9a/|g' mainwindow.cpp
sed -i 's|/doc/|/doc/paml-4.9a/|g' pamlhistorydialog.cpp
sed -i 's|/doc/|/doc/paml-4.9c/|g' mainwindow.cpp
sed -i 's|/doc/|/doc/paml-4.9c/|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