1 # Maintainer: Muflone http://www.muflone.com/contacts/english/
3 pkgname=perl-graphics-tiff
4 _perl_namespace=Graphics
8 pkgdesc="Extension for the libtiff library"
10 url="https://metacpan.org/dist/${_perl_namespace}-${_perl_module}"
12 makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
13 depends=('perl' 'libtiff')
14 checkdepends=('perl-readonly' 'perl-test-requires' 'perl-test-deep')
15 source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz")
16 sha256sums=('0050d8e40ba5ec98070c46ac485de0f7b325a1b7220aaa9591d05033deada479')
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