[arch-commits] Commit in (4 files)

Bruno Pagani archange at archlinux.org
Mon Apr 9 18:19:06 UTC 2018


    Date: Monday, April 9, 2018 @ 18:19:05
  Author: archange
Revision: 315464

Initial addition of Perl Data::Perl to [community]

Added:
  perl-data-perl/
  perl-data-perl/repos/
  perl-data-perl/trunk/
  perl-data-perl/trunk/PKGBUILD

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

Added: perl-data-perl/trunk/PKGBUILD
===================================================================
--- perl-data-perl/trunk/PKGBUILD	                        (rev 0)
+++ perl-data-perl/trunk/PKGBUILD	2018-04-09 18:19:05 UTC (rev 315464)
@@ -0,0 +1,33 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=Data-Perl
+pkgname=perl-${_pkg,,}
+pkgver=0.002009
+pkgrel=4
+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/M/MA/MATTP/${_pkg}-${pkgver}.tar.gz")
+sha512sums=('872eae53641b7ac19a8bcd4a6522475bf042463fbb8380a45481289c6792fa17cf4d52d146228acf089b9cff091413684fa5b39f67bc28f362a5d2eb85d1d01a')
+
+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