blob: 92cdae2a6713e83323362ac9c15cc5e340b39e57 (
plain)
1 # Description: Perl package to work with International Standard Book Numbers
2 # URL: https://metacpan.org/release/Business-ISBN-Data
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: p5-business-isbn-data
5
6 name=p5-business-isbn
7 version=3.005
8 release=1
9 source=(https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Business-ISBN-$version.tar.gz)
10
11 build() {
12 cd Business-ISBN-$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 }
|