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

Evangelos Foutras foutrelis at archlinux.org
Sun Jun 21 10:40:38 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:40:38
  Author: foutrelis
Revision: 649083

archrelease: copy trunk to community-staging-any

Added:
  perl-strictures/repos/community-staging-any/
  perl-strictures/repos/community-staging-any/PKGBUILD
    (from rev 649081, perl-strictures/trunk/PKGBUILD)

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

Copied: perl-strictures/repos/community-staging-any/PKGBUILD (from rev 649081, perl-strictures/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 10:40:38 UTC (rev 649083)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=strictures
+pkgname=perl-${_pkg}
+pkgver=2.000006
+pkgrel=3
+pkgdesc="Turn on strict and make most warnings fatal"
+arch=(any)
+url="https://metacpan.org/release/${_pkg}"
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=(perl)
+checkdepends=(perl-test-simple)
+source=("https://cpan.metacpan.org/authors/id/H/HA/HAARG/${_pkg}-${pkgver}.tar.gz")
+sha256sums=('09d57974a6d1b2380c802870fed471108f51170da81458e2751859f2714f8d57')
+
+build() {
+    cd ${_pkg}-${pkgver}
+    export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+    perl Makefile.PL
+    make
+}
+
+check() {
+    cd ${_pkg}-${pkgver}
+    make test
+}
+
+package() {
+    cd ${_pkg}-${pkgver}
+    make INSTALLDIRS=vendor DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list