1 # Contributor: 3ED <krzysztof1987 at gmail dot com>
5 pkgname='perl-lib-base'
9 pkgdesc="Establish an ISA relationship with base classes at compile time"
11 license=('PerlArtistic' 'GPL')
12 options=('!emptydirs')
13 depends=('perl' 'perl-test-simple')
14 url='http://search.cpan.org/dist/base/'
15 source=(http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/${_pkgname}-${pkgver}.tar.gz)
16 sha256sums=('4ccfd0b3c1aba37ac7684e4fd6e90ecd8d05c89f0e4af2d3d587796eb0f7b542')
19 cd "${srcdir}/${_pkgname}-${pkgver}" || return 1
20 export PERL_MM_USE_DEFAULT=1
21 perl Makefile.PL INSTALLDIRS=vendor || return 1
23 [ "$skiptest" = "1" ] || make test || return 1
24 make DESTDIR="${pkgdir}" install || return 1
25 find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete