1 # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
2 # Contributor: Jose Riha <jose1711 at gmail dot com>
4 pkgname=perl-math-polygon
8 pkgdesc="polygon mathematics"
10 url="http://search.cpan.org/~MARKOV/${_cpanname}"
11 license=('GPL' 'PerlArtistic')
13 options=('!emptydirs')
14 source=(http://www.cpan.org/authors/id/M/MA/MARKOV/${_cpanname}-${pkgver}.tar.gz)
15 md5sums=('7ef05962734682651451e2abad8fe4c8')
18 cd $srcdir/${_cpanname}-${pkgver}
19 sed -i '/^auto_install/d' Makefile.PL
20 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
22 make install DESTDIR=$pkgdir || return 1
23 find $pkgdir -name '.packlist' -delete
24 find $pkgdir -name '*.pod' -delete