[arch-commits] Commit in (4 files)

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


    Date: Friday, April 12, 2019 @ 15:10:38
  Author: felixonmars
Revision: 451281

addpkg: perl-test-minimumversion 0.101082-1

Added:
  perl-test-minimumversion/
  perl-test-minimumversion/repos/
  perl-test-minimumversion/trunk/
  perl-test-minimumversion/trunk/PKGBUILD

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

Added: perl-test-minimumversion/trunk/PKGBUILD
===================================================================
--- perl-test-minimumversion/trunk/PKGBUILD	                        (rev 0)
+++ perl-test-minimumversion/trunk/PKGBUILD	2019-04-12 15:10:38 UTC (rev 451281)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-test-minimumversion
+pkgver=0.101082
+pkgrel=1
+pkgdesc="Does your code require newer perl than you think?"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Test-MinimumVersion"
+depends=('perl-file-find-rule' 'perl-file-find-rule-perl' 'perl-perl-minimumversion')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Test-MinimumVersion-$pkgver.tar.gz")
+sha512sums=('9cc952f554d0e6ff3c80e43356bc2942e415893796c721847c31246ac338ed6ca372bdd8bec42e6d6c3943754f3ede1cfcbc772b32b53954f129ffc60e5370b8')
+
+build() {
+  cd Test-MinimumVersion-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Test-MinimumVersion-$pkgver
+  make test
+}
+
+package() {
+  cd Test-MinimumVersion-$pkgver
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list