summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
author Arkadiusz Drabczyk2024-02-19 19:28:37 +0100
committer Willy Sudiarto Raharjo2024-02-23 04:12:55 +0100
commitb353eb838e2668001b12797c998db6322c9f9043 (patch)
tree30ab3996b2f6c69fc8ea2ad8ea7f62f90cacafb0 /misc
parent6a6e559470a0bdabbb9ed493d88d472dacbe1129 (diff)
downloadslackbuilds-b353eb838e2668001b12797c998db6322c9f9043.tar.gz
misc/moreutils: Updated for version 0.68.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/moreutils/moreutils.SlackBuild12
-rw-r--r--misc/moreutils/moreutils.info6
2 files changed, 7 insertions, 11 deletions
diff --git a/misc/moreutils/moreutils.SlackBuild b/misc/moreutils/moreutils.SlackBuild
index e31c5d7ef2..65045b8b6b 100644
--- a/misc/moreutils/moreutils.SlackBuild
+++ b/misc/moreutils/moreutils.SlackBuild
@@ -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
diff --git a/misc/moreutils/moreutils.info b/misc/moreutils/moreutils.info
index ee84d26612..b4d9f4cab0 100644
--- a/misc/moreutils/moreutils.info
+++ b/misc/moreutils/moreutils.info
@@ -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=""