aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2023-07-27 14:40:45 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-29 07:29:50 +0700
commit37a5f9dfdb84891a19590f0b9d223540de041a2d (patch)
treea3b6f24b0246e579af485e377412e7cb9b5e7746 /academic
parentb6136177d5bf73cf06de3d17e9ab0122742f46cf (diff)
academic/nco: Updated for version 5.1.7.
Signed-off-by: ArTourter <artourter@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/nco/doinst.sh7
-rw-r--r--academic/nco/douninst.sh9
-rw-r--r--academic/nco/nco.SlackBuild4
-rw-r--r--academic/nco/nco.info6
4 files changed, 22 insertions, 4 deletions
diff --git a/academic/nco/doinst.sh b/academic/nco/doinst.sh
new file mode 100644
index 0000000000000..849153dbfd563
--- /dev/null
+++ b/academic/nco/doinst.sh
@@ -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
diff --git a/academic/nco/douninst.sh b/academic/nco/douninst.sh
new file mode 100644
index 0000000000000..6a6fb6c07b43c
--- /dev/null
+++ b/academic/nco/douninst.sh
@@ -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
diff --git a/academic/nco/nco.SlackBuild b/academic/nco/nco.SlackBuild
index a7f201c2ef05e..33f153494a2a6 100644
--- a/academic/nco/nco.SlackBuild
+++ b/academic/nco/nco.SlackBuild
@@ -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
diff --git a/academic/nco/nco.info b/academic/nco/nco.info
index d6c696e48f00f..f65f08b5a61d0 100644
--- a/academic/nco/nco.info
+++ b/academic/nco/nco.info
@@ -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"