1 pkgname=perl-weather-google
2 _pkgname=Weather-Google
5 pkgdesc="Perl interface to Google's Weather API"
7 url="http://search.cpan.org/dist/${_pkgname}"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0' 'perl-libwww' 'perl-xml-simple' 'perl-test-pod' 'perl-test-warn')
11 source=(http://search.cpan.org/CPAN/authors/id/P/PO/POSSUM/${_pkgname}-$pkgver.tar.gz)
12 md5sums=('776ccd1c07c9afcf9493775aab4c0d60')
15 cd $srcdir/${_pkgname}-$pkgver
17 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
20 make install DESTDIR=$pkgdir || return 1
22 find $pkgdir -name perllocal.pod -delete
23 find $pkgdir -name .packlist -delete