blob: 0baf3fed5401d746facec7469790d813c3508991 (
plain)
1 # Description: compare perl data structures
2 # URL: https://metacpan.org/release/Data-Compare
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: p5-clone p5-json
5
6 name=p5-data-compare
7 version=1.27
8 release=1
9 source=(https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/Data-Compare-$version.tar.gz)
10
11 build() {
12 cd Data-Compare-$version
13 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
14 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
15 perl Makefile.PL
16 make
17 make install INSTALLDIRS=vendor DESTDIR=$PKG
18 find $PKG -name .packlist -o \
19 -name perllocal.pod -o \
20 -name README -o \
21 -name '*.bs' | xargs rm
22 }
|