[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Fri Apr 12 15:07:43 UTC 2019
Date: Friday, April 12, 2019 @ 15:07:43
Author: felixonmars
Revision: 451279
addpkg: perl-perl-minimumversion 1.38-1
Added:
perl-perl-minimumversion/
perl-perl-minimumversion/repos/
perl-perl-minimumversion/trunk/
perl-perl-minimumversion/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Added: perl-perl-minimumversion/trunk/PKGBUILD
===================================================================
--- perl-perl-minimumversion/trunk/PKGBUILD (rev 0)
+++ perl-perl-minimumversion/trunk/PKGBUILD 2019-04-12 15:07:43 UTC (rev 451279)
@@ -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