updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / perl-math-polygon-tree / PKGBUILD
blob5cc908c419101655cff08fa435d0b31e6619f10a
1 # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
2 # Maintainer: Jose Riha <jose1711 at gmail dot com>
3  
4 pkgname=perl-math-polygon-tree
5 _cpanname=Math-Polygon-Tree
6 pkgver=0.04
7 pkgrel=1
8 pkgdesc="Fast check if object is inside polygon"
9 arch=('any')
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')
18 build() {
19   cd $srcdir/${_cpanname}-${pkgver}
20   sed -i '/^auto_install/d' Makefile.PL
21   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
22   make
25 package() {
26   cd $srcdir/${_cpanname}-${pkgver}
27   make install DESTDIR=$pkgdir
28   find $pkgdir -name '.packlist' -delete
29   find $pkgdir -name '*.pod' -delete