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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 10:20:14 UTC 2022


    Date: Sunday, May 29, 2022 @ 10:20:14
  Author: felixonmars
Revision: 1214161

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-strictures/repos/community-staging-any/PKGBUILD (from rev 1214160, perl-strictures/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-05-29 10:20:14 UTC (rev 1214161)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=strictures
+pkgname=perl-${_pkg}
+pkgver=2.000006
+pkgrel=5
+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