1 # Contributor: 3ED <krzysztof1987 at gmail dot com>
4 _lastauthor='R/RU/RURBAN'
8 pkgdesc="Perl compiler's C backend"
10 license=('PerlArtistic' 'GPL')
11 options=('!emptydirs')
12 depends=('perl' 'perl-ipc-run' 'perl-opcodes' 'perl-b-flags' 'perl-time-hires')
13 url='http://search.cpan.org/dist/B-C/'
14 source=(http://search.cpan.org/CPAN/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz)
15 sha256sums=('584bb3c74961e77ccf7ff3a754cd03d4529d6746ca2d3a07efb97896eb75b05d')
18 cd "${srcdir}/${_pkgname}-${pkgver}"
19 export PERL_MM_USE_DEFAULT=1
20 export PERL_AUTOINSTALL='--skipdeps'
21 perl Makefile.PL INSTALLDIRS=vendor
25 cd "${srcdir}/${_pkgname}-${pkgver}"
29 cd "${srcdir}/${_pkgname}-${pkgver}"
30 make DESTDIR="${pkgdir}" install
31 find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete