aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-12-28 15:09:41 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-31 09:14:52 +0700
commitdbe73d543bcd2f653464bb4b3ed0b61a110b4b40 (patch)
tree7eb52a73b22a1a17a286290b8f4fbbba73f8dccd /system
parente559e5de097a45be383559761149faa10bd4c0e4 (diff)
system/rename.pl: Updated for version 1.12.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/rename.pl/rename.pl.SlackBuild11
-rw-r--r--system/rename.pl/rename.pl.info8
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=""