academic/nco: Updated for version 5.1.7.

Signed-off-by: ArTourter <artourter@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
ArTourter 2023-07-27 14:40:45 +01:00 committed by Willy Sudiarto Raharjo
parent b6136177d5
commit 37a5f9dfdb
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 22 additions and 4 deletions

7
academic/nco/doinst.sh Normal file
View file

@ -0,0 +1,7 @@
if [ -x /usr/bin/install-info ]; then
/usr/bin/install-info --info-dir=usr/info usr/info/nco.info.gz 1> /dev/null 2>&1
/usr/bin/install-info --info-dir=usr/info usr/info/nco.info-1.gz 1> /dev/null 2>&1
/usr/bin/install-info --info-dir=usr/info usr/info/nco.info-1.gz 1> /dev/null 2>&1
/usr/bin/install-info --info-dir=usr/info usr/info/nco.info-3.gz 1> /dev/null 2>&1
/usr/bin/install-info --info-dir=usr/info usr/info/nco.info-4.gz 1> /dev/null 2>&1
fi

9
academic/nco/douninst.sh Normal file
View file

@ -0,0 +1,9 @@
if [ -x /usr/bin/install-info -a -d usr/info ]; then
(
cd usr/info
rm -f dir
for i in *.info*; do
/usr/bin/install-info $i dir 1>/dev/null 2>&1
done
)
fi

View file

@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nco
VERSION=${VERSION:-5.1.6}
VERSION=${VERSION:-5.1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -115,6 +115,8 @@ rm -f $PKG/usr/lib*/*.la
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/douninst.sh > $PKG/install/douninst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE

View file

@ -1,8 +1,8 @@
PRGNAM="nco"
VERSION="5.1.6"
VERSION="5.1.7"
HOMEPAGE="http://nco.sf.net"
DOWNLOAD="https://github.com/nco/nco/archive/5.1.6/nco-5.1.6.tar.gz"
MD5SUM="e0630c77538db61c09b578331cf5c20e"
DOWNLOAD="https://github.com/nco/nco/archive/5.1.7/nco-5.1.7.tar.gz"
MD5SUM="0fe8447f974cbf1a25872c1fd40597a6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="netcdf udunits antlr2"