misc/moreutils: Updated for version 0.68.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Arkadiusz Drabczyk 2024-02-19 19:28:37 +01:00 committed by Willy Sudiarto Raharjo
parent 6a6e559470
commit b353eb838e
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 7 additions and 11 deletions

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=moreutils
VERSION=${VERSION:-0.65}
VERSION=${VERSION:-0.68}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -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
@ -52,16 +49,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
@ -101,6 +94,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,8 +1,8 @@
PRGNAM="moreutils"
VERSION="0.65"
VERSION="0.68"
HOMEPAGE="https://joeyh.name/code/moreutils"
DOWNLOAD="http://distfiles.macports.org/moreutils/moreutils-0.65.tar.gz"
MD5SUM="a412e3d175778e0a638f7471f63df1c7"
DOWNLOAD="http://distfiles.macports.org/moreutils/moreutils-0.68.tar.gz"
MD5SUM="4deeedce5ad80bd27c80c704539f012e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""