diff options
author | B. Watson <yalhcru@gmail.com> | 2020-10-11 16:07:56 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-10-17 09:36:42 +0700 |
commit | 01c55541c2fbdae3030ff7d3f6c2260403f97ce7 (patch) | |
tree | f5ec6da7d9268d4f64c8009799fd94f76d320e9a | |
parent | e0e49c8a3e36384010d7e7360e8a833848f6f237 (diff) | |
download | slackbuilds-01c55541c2fbdae3030ff7d3f6c2260403f97ce7.tar.gz |
academic/cdo: Fix README, slack-desc, script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | academic/cdo/README | 4 | ||||
-rw-r--r-- | academic/cdo/cdo.SlackBuild | 6 | ||||
-rw-r--r-- | academic/cdo/slack-desc | 2 |
3 files changed, 4 insertions, 8 deletions
diff --git a/academic/cdo/README b/academic/cdo/README index a808053d38..e767d4ea31 100644 --- a/academic/cdo/README +++ b/academic/cdo/README @@ -3,5 +3,5 @@ CDO (Climate Data Operators) CDO is a collection of command line Operators to manipulate and analyse Climate and NWP model Data. -Supported data formats are GRIB 1/2, netCDF 3/4, SERVICE, EXTRA and IEG. There -are more than 600 operators available. +Supported data formats are GRIB 1/2, netCDF 3/4, SERVICE, EXTRA and +IEG. There are more than 600 operators available. diff --git a/academic/cdo/cdo.SlackBuild b/academic/cdo/cdo.SlackBuild index cf0cfa0a04..c9c3f9b4d7 100644 --- a/academic/cdo/cdo.SlackBuild +++ b/academic/cdo/cdo.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.9.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -96,7 +94,6 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# Copy program documentation into the package mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS COPYING ChangeLog INSTALL NEWS OPERATORS README \ @@ -104,7 +101,6 @@ cp -a \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# Copy the slack-desc (and a custom doinst.sh if necessary) into ./install mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/academic/cdo/slack-desc b/academic/cdo/slack-desc index a46e900e01..49f7b868c9 100644 --- a/academic/cdo/slack-desc +++ b/academic/cdo/slack-desc @@ -6,7 +6,7 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -cdo: CDO (Climate Data Operators) +cdo: cdo (Climate Data Operators) cdo: cdo: CDO is a collection of command line Operators to manipulate and cdo: analyse Climate and NWP model Data. |