Package Details: perl-getopt-long-descriptive 0.116-1

Git Clone URL: https://aur.archlinux.org/perl-getopt-long-descriptive.git (read-only, click to copy)
Package Base: perl-getopt-long-descriptive
Description: Getopt::Long, but simpler and more powerful
Upstream URL: https://metacpan.org/dist/Getopt-Long-Descriptive
Licenses: GPL, PerlArtistic
Submitter: None
Maintainer: micwoj92
Last Packager: micwoj92
Votes: 22
Popularity: 0.029367
First Submitted: 2009-04-21 18:44 (UTC)
Last Updated: 2025-01-12 23:15 (UTC)

Latest Comments

andreas_baumann commented on 2025-01-20 11:37 (UTC)

The download location is broken and Makefile.PL is not part of the package.

works if applying this patch to PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 786cea2..34696c5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,8 +12,16 @@ url="https://metacpan.org/dist/Getopt-Long-Descriptive"
 license=('PerlArtistic' 'GPL')
 depends=('perl' 'perl-params-validate' 'perl-sub-exporter' 'perl-getopt-long>=2.55')
 checkdepends=('perl-cpan-meta-check' 'perl-test-fatal' 'perl-test-warnings')
-source=("https://backpan.cpan.org/modules/by-authors/id/R/RJ/RJBS/Getopt-Long-Descriptive-${pkgver}.tar.gz")
-sha512sums=('6c31592b98d8f594fd0d3bcc750120479fa3bd663211ef28ea6607a555c51717cda32679b463e404543392c68fcf289c2a6e51cf93200ec9ea5a43535e5ec438')
+source=("https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Getopt-Long-Descriptive-0.116.tar.gz"
+        "Makefile.PL::https://metacpan.org/release/RJBS/Getopt-Long-Descriptive-0.116/raw/Makefile.PL?download=1")
+sha512sums=('c6c53a371b35f9640ba9f2671c11dc095fea526462d64239311df2891bf53ab10ad974cae8bc2022995411c178fe1c8d2abf0c076eacf724ce3a36ac6ef6e00f'
+            '44099560f0c10121aa7acc90db3d773a7eb52c4355b274dcc36023120121e31ffd40cb901a17576e41b761ca0c73a7b6056a48e2ba70f0db6267ac99dd4898ac')
+
+prepare() {
+  cd "${srcdir}"
+
+  cp "${srcdir}/Makefile.PL" "${srcdir}/Getopt-Long-Descriptive-${pkgver}"
+}

 build() {
   cd "${srcdir}/Getopt-Long-Descriptive-${pkgver}"

micwoj92 commented on 2024-07-28 10:17 (UTC)

@J5lx I've uploaded perl-getopt-long to AUR as standalone module and pushed update. I can give you this package back if you want.

J5lx commented on 2023-12-26 22:02 (UTC) (edited on 2024-06-17 18:41 (UTC) by J5lx)

Current versions of this package require a newer version of Getopt::Long than is currently available in the Arch repositories, so I’m holding off on the update until the perl package is updated to version 5.40.

plaxx commented on 2018-08-09 18:13 (UTC)

Working PKGBUILD: https://gist.github.com/obilodeau/3b94de0ae84e8cd061b3a09c8ed71db5