1 # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
2 # Maintainer: Jose Riha <jose1711 at gmail dot com>
4 pkgname=perl-math-polygon-tree
5 _cpanname=Math-Polygon-Tree
8 pkgdesc="Fast check if object is inside polygon"
10 url="http://search.cpan.org/~LIOSHA/${_cpanname}"
11 license=('GPL' 'PerlArtistic')
12 depends=('perl-math-geometry-planar-gpc-polygon' 'perl-list-moreutils')
13 makedepends=('perl-extutils-makemaker')
14 options=('!emptydirs')
15 source=(http://www.cpan.org/authors/id/L/LI/LIOSHA/Math-Polygon-Tree-0.04_1.tar.gz)
16 md5sums=('6d4fe6abfdf5aae4a3c6faf4d565f0cf')
19 cd $srcdir/${_cpanname}-${pkgver}
20 sed -i '/^auto_install/d' Makefile.PL
21 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
26 cd $srcdir/${_cpanname}-${pkgver}
27 make install DESTDIR=$pkgdir
28 find $pkgdir -name '.packlist' -delete
29 find $pkgdir -name '*.pod' -delete