Package Details: perl-cpanplus-dist-arch 1.32-13

Git Clone URL: https://aur.archlinux.org/perl-cpanplus-dist-arch.git (read-only, click to copy)
Package Base: perl-cpanplus-dist-arch
Description: CPANPLUS backend for building Archlinux pacman packages
Upstream URL: https://metacpan.org/release/CPANPLUS-Dist-Arch
Licenses: Artistic-2.0, GPL-1.0-only
Submitter: arojas
Maintainer: morgenstern
Last Packager: morgenstern
Votes: 1
Popularity: 0.188984
First Submitted: 2025-03-31 17:55 (UTC)
Last Updated: 2025-07-19 12:22 (UTC)

Latest Comments

morgenstern commented on 2025-09-21 04:37 (UTC)

Interesting - thanks for highlighting. I do not personally have any issues with the software as-is, but if you feel strongly that this should be part of the package I encourage you to open up a pull request upstream. If upstream is not being responsive, I am happy to add the patch here in the interim.

Skeleton3284 commented on 2025-09-19 23:05 (UTC) (edited on 2025-09-19 23:10 (UTC) by Skeleton3284)

Needs patch to work properly (as per https://bbs.archlinux.org/viewtopic.php?id=268017)

Patch:

diff -ura package.orig/CPANPLUS-Dist-Arch-1.32/lib/CPANPLUS/Dist/Arch.pm package.new/CPANPLUS-Dist-Arch-1.32/lib/CPANPLUS/Dist/Arch.pm
--- CPANPLUS-Dist-Arch-1.32/lib/CPANPLUS/Dist/Arch.pm   2025-09-20 08:38:37.390083332 +1000
+++ CPANPLUS-Dist-Arch-1.32/lib/CPANPLUS/Dist/Arch.pm   2025-09-20 08:40:35.273110463 +1000
@@ -357,7 +357,7 @@

     _DEBUG "Searching for file starting with $pkgfile";


-    my ($found) = grep { -f $_ } map { "$pkgfile.$_" } qw/ xz gz bz2 /;
+    my ($found) = grep { -f $_ } map { "$pkgfile.$_" } qw/ gz bz2 xz zst lrz lzo Z lz4 lz /;

     _DEBUG ( $found ? "Found $found" : "No package file found!" );

Add prepare to PKGBUILD:

prepare() {
  cd CPANPLUS-Dist-Arch-$pkgver
  patch -Np1 -i ../package.patch
}

Directions:

1) Save patch to PKGBUILD dir as package.patch
2) Run "makepkg -g >> PKGBUILD" to update the checksums
3) Update PKGBUILD with prepare function as above
4) Now makepkg -sci (or whatever you use) as normal