1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Maxwell Pray a.k.a. Synthead <synthead@gmail.com>
3 # Contributor: François Charette <firmicus ατ gmx δοτ net>
8 pkgdesc="Parse Adobe Font Metric files"
10 url="https://search.cpan.org/dist/Font-AFM"
11 license=('GPL' 'PerlArtistic')
12 depends=('perl>=5.5.0')
13 options=('!emptydirs')
14 source=("https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Font-AFM-$pkgver.tar.gz")
15 md5sums=('b14ecf4dc4edbd63940aa354eb13c499')
18 cd "$srcdir/Font-AFM-$pkgver"
20 PERL_MM_USE_DEFAULT=1 \
21 PERL_AUTOINSTALL=--skipdeps \
22 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \
23 PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
24 MODULEBUILDRC=/dev/null
30 cd "$srcdir/Font-AFM-$pkgver"
35 cd "$srcdir/Font-AFM-$pkgver"
37 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete