blob: ba287833cda116b0eb534aa0c729ec612c849d4f (
plain)
1 # Description: Perl interface to read and parse BibTeX files
2 # URL: https://metacpan.org/release/Text-BibTeX
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: p5-config-autoconf p5-extutils-libbuilder p5-module-build
5
6 name=p5-text-bibtex
7 version=0.88
8 release=1
9 source=(https://cpan.metacpan.org/authors/id/A/AM/AMBS/Text-BibTeX-$version.tar.gz)
10
11 build() {
12 cd Text-BibTeX-$version
13 sed -i s,lib64,lib,g Build.PL
14 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
15 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
16 perl Build.PL
17 ./Build
18 ./Build install installdirs=vendor destdir=$PKG
19 find $PKG \( -iname '*.packlist' -o -iname '*.pod' -o -iname 'BibTex.bs' \) -delete
20 }
|