archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-data-compare / trunk / PKGBUILD
blob391238c36bac4b4d2fd4d4ad9037458f12335334
1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
2 # Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
3 # Generator  : CPANPLUS::Dist::Arch 1.32
5 pkgname='perl-data-compare'
6 _dist=Data-Compare
7 pkgver=1.27
8 pkgrel=2
9 pkgdesc="compare perl data structures"
10 arch=('any')
11 license=('PerlArtistic' 'GPL')
12 options=('!emptydirs')
13 depends=('perl-file-find-rule>=0.1' 'perl-clone')
14 checkdepends=('perl-test-pod' 'perl-json')
15 makedepends=()
16 url='https://metacpan.org/release/Data-Compare'
17 source=("https://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/Data-Compare-${pkgver}.tar.gz")
18 sha256sums=('818a20f1f38f74e65253cf8bcf6fed7f94a5a8dd662f75330dcaf4b117cee8bd')
20 build() {
21     cd "${srcdir}/${_dist}-${pkgver}"
22     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
23     export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
24     perl Makefile.PL
25     make
28 check() {
29     cd "${srcdir}/${_dist}-${pkgver}"
30     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
31     export PERL_MM_USE_DEFAULT=1
32     make test
35 package() {
36     cd "${srcdir}/${_dist}-${pkgver}"
37     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
38     make install INSTALLDIRS=vendor DESTDIR="$pkgdir"