academic/ViennaRNA: Fix build.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2023-03-11 21:19:45 +07:00
parent 0968f99d64
commit da7daf6316
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 1 additions and 4 deletions

View File

@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -172,7 +169,7 @@ rm -r $PKG/usr/share/ViennaRNA/bin
# re-organise info files the Slackware/SBo way
mkdir $PKG/usr/info/
rm $PKG/usr/share/info/dir
rm -rf $PKG/usr/share/info/dir
#gzip and move info file
gzip -9 $PKG/usr/share/info/*.info
mv $PKG/usr/share/info/*.info* $PKG/usr/info/