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

Felix Yan felixonmars at archlinux.org
Fri Apr 12 15:08:10 UTC 2019


    Date: Friday, April 12, 2019 @ 15:08:09
  Author: felixonmars
Revision: 451280

archrelease: copy trunk to community-any

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

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

Copied: perl-perl-minimumversion/repos/community-any/PKGBUILD (from rev 451279, perl-perl-minimumversion/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-04-12 15:08:09 UTC (rev 451280)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-perl-minimumversion
+pkgver=1.38
+pkgrel=1
+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