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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:30:55 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:30:54
  Author: foutrelis
Revision: 470167

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-strictures/repos/community-staging-any/PKGBUILD (from rev 470166, perl-strictures/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 09:30:54 UTC (rev 470167)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=strictures
+pkgname=perl-${_pkg}
+pkgver=2.000005
+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/E/ET/ETHER/${_pkg}-${pkgver}.tar.gz")
+sha512sums=('e4309c01fd729fe8c42e4a0ddbc95e8e14503362fb5be4556fef42edbbe14567a13cf2e9af206e91ff911b961316dfbff3711f278afaa4772bf284bb2d44a309')
+
+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