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

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 10:33:58 UTC 2021


    Date: Monday, May 24, 2021 @ 10:33:58
  Author: foutrelis
Revision: 944252

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-perl-minimumversion/repos/community-staging-any/PKGBUILD (from rev 944251, perl-perl-minimumversion/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 10:33:58 UTC (rev 944252)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-perl-minimumversion
+pkgver=1.40
+pkgrel=2
+pkgdesc="Find a minimum required version of perl for Perl code"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Perl-MinimumVersion"
+depends=('perl-file-find-rule' 'perl-file-find-rule-perl' 'perl-ppi' 'perl-ppix-regexp'
+         'perl-params-util' 'perl-ppix-utils')
+makedepends=('perl-test-script')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/D/DB/DBOOK/Perl-MinimumVersion-$pkgver.tar.gz")
+sha512sums=('9416fbee46008f7745d6d0c8762e1d54e00fb708376a1d0a86c08f375627da3c10feefc0d234f68d422da892f5ac3f5caa9ea1ac6593827e2ff9b262646a6527')
+
+build() {
+  cd Perl-MinimumVersion-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Perl-MinimumVersion-$pkgver
+  make test
+}
+
+package() {
+  cd Perl-MinimumVersion-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list