1 # Contributor: Christian Hesse <mail@earthworm.de>
3 pkgname=perl-geo-distance
6 pkgdesc="Geo::Distance - Perl interface to calculate geo distance from latitude and longitude"
8 url="http://search.cpan.org/~bluefeet/Geo-Distance-${pkgver}/"
9 license=('GPL' 'PerlArtistic')
12 source=(http://search.cpan.org/CPAN/authors/id/B/BL/BLUEFEET/Geo-Distance-${pkgver}.tar.gz)
15 cd "${srcdir}/Geo-Distance-${pkgver}"
17 # install module in vendor directories.
18 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
20 make install DESTDIR="${pkgdir}/" || return 1
22 # remove perllocal.pod and .packlist
23 find "${pkgdir}" -name perllocal.pod -delete
24 find "${pkgdir}" -name .packlist -delete
26 md5sums=('171bd94675cb71326b493cd1a498e41d')