aboutsummaryrefslogtreecommitdiff
path: root/academic/ViennaRNA/ViennaRNA.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/ViennaRNA/ViennaRNA.SlackBuild')
-rw-r--r--academic/ViennaRNA/ViennaRNA.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/academic/ViennaRNA/ViennaRNA.SlackBuild b/academic/ViennaRNA/ViennaRNA.SlackBuild
index df1270f38ee7a..9d6da8902ee9d 100644
--- a/academic/ViennaRNA/ViennaRNA.SlackBuild
+++ b/academic/ViennaRNA/ViennaRNA.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ViennaRNA
-# Copyright 2018-2021 Rob van Nues
+# Copyright 2018-2022 Rob van Nues
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ViennaRNA
-VERSION=${VERSION:-2.5.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.5.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -170,11 +170,13 @@ for perlscript in $PKG/usr/share/ViennaRNA/bin/*.pl ; do
done
rm -r $PKG/usr/share/ViennaRNA/bin
-# no need for that file it is outdated anyway
+# re-organise info files the Slackware/SBo way
+mkdir $PKG/usr/info/
rm $PKG/usr/share/info/dir
-
-#gzip info file
+#gzip and move info file
gzip -9 $PKG/usr/share/info/*.info
+mv $PKG/usr/share/info/*.info* $PKG/usr/info/
+rmdir $PKG/usr/share/info
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done