[arch-commits] Commit in perl-cpan-perl-releases/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon May 24 08:35:20 UTC 2021


    Date: Monday, May 24, 2021 @ 08:35:19
  Author: felixonmars
Revision: 944009

archrelease: copy trunk to community-staging-any

Added:
  perl-cpan-perl-releases/repos/community-staging-any/
  perl-cpan-perl-releases/repos/community-staging-any/PKGBUILD
    (from rev 944003, perl-cpan-perl-releases/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: perl-cpan-perl-releases/repos/community-staging-any/PKGBUILD (from rev 944003, perl-cpan-perl-releases/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 08:35:19 UTC (rev 944009)
@@ -0,0 +1,29 @@
+# Maintainer: 
+
+pkgname=perl-cpan-perl-releases
+pkgver=5.20191220
+pkgrel=3
+pkgdesc='Mapping Perl releases on CPAN to the location of the tarballs'
+arch=('any')
+url="https://metacpan.org/release/CPAN-Perl-Releases"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/CPAN-Perl-Releases-$pkgver.tar.gz")
+sha256sums=('b18c182e78b34c70dd0980429f1d31c068ccae27364256b2cb233263ab539d09')
+
+build() {
+  cd CPAN-Perl-Releases-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd CPAN-Perl-Releases-$pkgver
+  make test
+}
+
+package() {
+  cd CPAN-Perl-Releases-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list