summaryrefslogtreecommitdiffstats
path: root/system/mmv/mmv.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/mmv/mmv.SlackBuild')
-rw-r--r--system/mmv/mmv.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/system/mmv/mmv.SlackBuild b/system/mmv/mmv.SlackBuild
index c788b86174..b2ee4e5618 100644
--- a/system/mmv/mmv.SlackBuild
+++ b/system/mmv/mmv.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240314 bkw: update for v2.6.
# 20230822 bkw: update for v2.5.1.
# 20230711 bkw: update for v2.4.
# 20221228 bkw: update for v2.3.
@@ -23,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mmv
-VERSION=${VERSION:-2.5.1}
+VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -68,8 +69,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -89,7 +90,8 @@ gzip -9 $PKG/usr/man/man?/*.*
# multi-named executable, uses its name to decide what action to take.
# 'make install' creates the symlinks to the binary but not the man page.
# in 2.3, the "mad" symlink is gone. doubt anyone misses it.
-LINKS="mcp mln"
+# 20240314 bkw: in 2.6, "mad" is back (someone *did* miss it).
+LINKS="mcp mln mad"
for i in $LINKS; do
ln -s $PRGNAM.1.gz $PKG/usr/man/man1/$i.1.gz
done