[arch-commits] Commit in perl-data-compare/repos (staging-any staging-any/PKGBUILD)

Florian Pritz bluewind at archlinux.org
Wed Aug 1 09:44:41 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:44:41
  Author: bluewind
Revision: 330120

archrelease: copy trunk to staging-any

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

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

Copied: perl-data-compare/repos/staging-any/PKGBUILD (from rev 330119, perl-data-compare/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 09:44:41 UTC (rev 330120)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator  : CPANPLUS::Dist::Arch 1.32
+
+pkgname='perl-data-compare'
+_dist=Data-Compare
+pkgver=1.25
+pkgrel=5
+pkgdesc="compare perl data structures"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-file-find-rule>=0.1')
+checkdepends=('perl-test-pod' 'perl-json' 'perl-clone')
+makedepends=()
+url='https://metacpan.org/release/Data-Compare'
+source=("http://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/Data-Compare-${pkgver}.tar.gz")
+md5sums=('6a397ab5833237f3ca05ed7277b19a7a')
+sha512sums=('6db1235672030aa1afe52de1de9fac1f8a2af9eed99a3143d6c5b30669908125f584638fe06b8b33208f6d7fb734ccec7381c9411408a3f4fde1998707f748c9')
+
+build() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+    perl Makefile.PL
+    make
+}
+
+check() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1
+    make test
+}
+
+package() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list