1 # Maintainer: Muflone http://www.muflone.com/contacts/english/
2 # Contributor: web.de jan.stuehler
4 pkgname=perl-pdf-builder
9 pkgdesc="Facilitates the creation and modification of PDF files"
11 url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}"
13 depends=('perl' 'perl-font-ttf')
14 checkdepends=('perl-test-exception' 'perl-test-memory-cycle')
15 source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz")
16 sha256sums=('a9beb4efa0ec2975a9145cef052118b2098f46d9c1510dd65786a03d0da3e3d5')
17 options=('!emptydirs')
20 cd "${_perl_namespace}-${_perl_module}-${pkgver}"
21 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
22 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
28 cd "${_perl_namespace}-${_perl_module}-${pkgver}"
29 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
30 export PERL_MM_USE_DEFAULT=1
35 cd "${_perl_namespace}-${_perl_module}-${pkgver}"
36 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
37 make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
38 # Delete unuseful files
39 find "${pkgdir}" -name '.packlist' -delete