1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
3 pkgname=perl-text-bibtex
7 pkgdesc="Perl interface to read and parse BibTeX files"
9 url="https://metacpan.org/release/${_dist}"
10 license=('PerlArtistic' 'GPL')
12 makedepends=('perl-module-build'
13 'perl-config-autoconf'
14 'perl-extutils-libbuilder')
15 options=('!emptydirs')
16 source=(https://search.cpan.org/CPAN/authors/id/A/AM/AMBS/${_dist}-${pkgver}.tar.gz)
17 # Checksums from http://search.cpan.org/CPAN/authors/id/A/AM/AMBS/CHECKSUMS
18 md5sums=('67fa6d9c03c659627d9fd58bb380c1fe')
19 sha256sums=('88a78ebf088ec7502f401c5a2b138c862cf5458534b773223bbf3aaf41224196')
22 cd "${srcdir}/${_dist}-${pkgver}"
23 # Don't install to /usr/lib64
24 sed -i s,lib64,lib,g Build.PL
28 cd "${srcdir}/${_dist}-${pkgver}"
29 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
30 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
36 cd "${srcdir}/${_dist}-${pkgver}"
37 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
38 export PERL_MM_USE_DEFAULT=1
43 cd "${srcdir}/${_dist}-${pkgver}"
44 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
45 ./Build install installdirs=vendor destdir="$pkgdir"