1 # Contributor: atie H. <atie.at.matrix@gmail.com>
3 pkgname=perl-geo-weathernws
6 pkgdesc="Geo::WeatherNWS"
8 url="http://search.cpan.org/dist/Geo-WeatherNWS/"
10 depends=('perl-libwww')
11 options=('!emptydirs')
12 source=("http://search.cpan.org/CPAN/authors/id/M/MS/MSLAGLE/Geo-WeatherNWS-$pkgver.tar.gz")
13 md5sums=('acb0b0123b938b265c9814758a502c46')
16 cd $startdir/src/Geo-WeatherNWS-$pkgver
17 eval `perl -V:archname`
18 /usr/bin/perl Makefile.PL \
19 INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
20 INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
21 INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
22 /usr/bin/make || return 1
23 /usr/bin/make DESTDIR=$startdir/pkg install
24 /usr/bin/find $startdir/pkg -name '.packlist' -delete
25 /usr/bin/find $startdir/pkg -name '*.pod' -delete