1 # CPAN Name : Font-FreeType
2 # Contributor: Justin Davis <jrcd83@gmail.com>
3 # Generator : CPANPLUS::Dist::Arch 1.07
4 pkgname='perl-font-freetype'
7 pkgdesc="read font files and render glyphs from Perl using FreeType2"
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('freetype2' 'perl')
13 url='http://search.cpan.org/dist/Font-FreeType'
14 source=('http://search.cpan.org/CPAN/authors/id/G/GE/GEOFFR/Font-FreeType-0.03.tar.gz' 'ft.patch')
15 md5sums=('47b9483c92f1b2df0bbb5258a6a596b2' '3c1c5af51822c7bc01626168186858b7')
19 DIST_DIR="${srcdir}/Font-FreeType-0.03"
20 export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
21 PERL_AUTOINSTALL=--skipdeps \
22 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
23 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
24 MODULEBUILDRC=/dev/null
27 patch < "${srcdir}/ft.patch"
34 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete