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

Felix Yan felixonmars at archlinux.org
Sat May 25 11:01:06 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:01:04
  Author: felixonmars
Revision: 470330

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

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

Copied: perl-perl-minimumversion/repos/community-staging-any/PKGBUILD (from rev 470329, perl-perl-minimumversion/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 11:01:04 UTC (rev 470330)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-perl-minimumversion
+pkgver=1.38
+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-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