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

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 11:13:10 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:13:09
  Author: foutrelis
Revision: 1214275

archrelease: copy trunk to community-staging-any

Added:
  perl-cpanplus/repos/community-staging-any/
  perl-cpanplus/repos/community-staging-any/PKGBUILD
    (from rev 1214274, perl-cpanplus/trunk/PKGBUILD)

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

Copied: perl-cpanplus/repos/community-staging-any/PKGBUILD (from rev 1214274, perl-cpanplus/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-05-29 11:13:09 UTC (rev 1214275)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-cpanplus
+pkgver=0.9914
+pkgrel=2
+pkgdesc='Ameliorated interface to the CPAN'
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=(!emptydirs)
+depends=('perl' 'perl-log-message' 'perl-archive-extract' 'perl-term-ui' 'perl-log-message-simple'
+         'perl-module-pluggable' 'perl-object-accessor' 'perl-package-constants')
+url=https://metacpan.org/release/CPANPLUS
+source=("https://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/CPANPLUS-$pkgver.tar.gz")
+sha512sums=('da165c78122632d724dca1de463379605c42aa8dd707248f47e0632cd5388d246745eb55478c83b7e5fc5f80269801ba21fe27c4e5f44ea77e93dd55bea2d86c')
+_ddir="CPANPLUS-$pkgver"
+
+build() {
+  cd "$srcdir/$_ddir"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/$_ddir"
+  make test
+}
+
+package() {
+  cd "$srcdir/$_ddir"
+  make install DESTDIR="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list