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

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 10:43:05 UTC 2021


    Date: Monday, May 24, 2021 @ 10:43:05
  Author: foutrelis
Revision: 944305

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-data-perl/repos/community-staging-any/PKGBUILD (from rev 944303, perl-data-perl/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 10:43:05 UTC (rev 944305)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+_pkg=Data-Perl
+pkgname=perl-${_pkg,,}
+pkgver=0.002011
+pkgrel=2
+pkgdesc="Base classes wrapping fundamental Perl data types"
+arch=('any')
+url="https://metacpan.org/release/${_pkg}"
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-class-method-modifiers' 'perl-list-moreutils' 'perl-module-runtime'
+         'perl-role-tiny' 'perl-scalar-list-utils' 'perl-parent' 'perl-strictures')
+checkdepends=('perl-test-deep' 'perl-test-fatal' 'perl-test-output')
+source=("https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${_pkg}-${pkgver}.tar.gz")
+sha512sums=('c55f0d5ba6141ef2a3fe02fc4258f4dbc9ae041e5b390dc626f297d68f4fafdafe5deef6ee282718927e101f7c2d93e913117fe754d5fc0c28d206b45e61b285')
+
+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