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

Florian Pritz bluewind at archlinux.org
Wed Aug 1 09:11:50 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:11:50
  Author: bluewind
Revision: 366305

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-strictures/repos/community-staging-any/PKGBUILD (from rev 366303, perl-strictures/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 09:11:50 UTC (rev 366305)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=strictures
+pkgname=perl-${_pkg}
+pkgver=2.000005
+pkgrel=2
+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