diff options
-rw-r--r-- | system/rename.pl/rename.pl.SlackBuild | 11 | ||||
-rw-r--r-- | system/rename.pl/rename.pl.info | 8 |
2 files changed, 11 insertions, 8 deletions
diff --git a/system/rename.pl/rename.pl.SlackBuild b/system/rename.pl/rename.pl.SlackBuild index d0c9e8e508b40..6f8858da51761 100644 --- a/system/rename.pl/rename.pl.SlackBuild +++ b/system/rename.pl/rename.pl.SlackBuild @@ -29,15 +29,17 @@ # refers to rename.pl consistently (particularly the example commands, # which wouldn't work if you copy/pasted them as-is). -# This version of rename is from 2014. It's either "feature complete" -# or "unmaintained", depending on whether you love or hate it. +# This version of rename is still actively maintained, as of 20221113. + +# 20221228 bkw: updated for v1.12, fix PKGTYPE assignment. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rename.pl -VERSION=${VERSION:-1.9} +VERSION=${VERSION:-1.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=rename @@ -70,6 +72,7 @@ chmod 755 . bin sed -i \ -e '/^rename - renames/s,rename,rename.pl,' \ -e '/^ *rename /s,rename,rename.pl,' \ + -e 's,rename prompts,rename.pl prompts,g' \ -e 's,<rename>,<rename.pl>,g' \ -e '/make sure rename doesn.t/s,rename,B<rename.pl>,' \ bin/$SRCNAM.PL @@ -107,4 +110,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/system/rename.pl/rename.pl.info b/system/rename.pl/rename.pl.info index 2a8782c6eb4f5..2250c6118104e 100644 --- a/system/rename.pl/rename.pl.info +++ b/system/rename.pl/rename.pl.info @@ -1,8 +1,8 @@ PRGNAM="rename.pl" -VERSION="1.9" -HOMEPAGE="https://metacpan.org/pod/release/PEDERST/rename-1.9/bin/rename.PL" -DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PEDERST/rename-1.9.tar.gz" -MD5SUM="16df2adde955a6867701564e3d7c6a52" +VERSION="1.12" +HOMEPAGE="https://metacpan.org/pod/release/PEDERST/rename-1.12/bin/rename.PL" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PEDERST/rename-1.12.tar.gz" +MD5SUM="b7c8d1476ae4951c7d3da669c01570fc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |