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

Felix Yan felixonmars at archlinux.org
Sun Jun 21 15:31:53 UTC 2020


    Date: Sunday, June 21, 2020 @ 15:31:52
  Author: felixonmars
Revision: 649485

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 649484, perl-perl-minimumversion/trunk/PKGBUILD)

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

Copied: perl-perl-minimumversion/repos/community-staging-any/PKGBUILD (from rev 649484, perl-perl-minimumversion/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 15:31:52 UTC (rev 649485)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-perl-minimumversion
+pkgver=1.38
+pkgrel=3
+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-perl-critic')
+makedepends=('perl-test-script')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/N/NE/NEILB/Perl-MinimumVersion-$pkgver.tar.gz")
+sha512sums=('4a1b5a30c1b2c82ebdd5908b667d012376372890278fb3f1a08ead300b8ce02396f511df5250123689611ad5c0b0ad2b41a4c1ebe76c33109f2226eef95c9d4f')
+
+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