updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-weather-com / PKGBUILD
blob50d47989bd5d2042f85ca931d9c773b645b993d3
1 # Maintainer: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2 # Contributor: M Rawash <mrawash@gmail.com>
4 pkgname=perl-weather-com
5 _pkgname=Weather-Com
6 pkgver=0.5.5
7 pkgrel=2
8 pkgdesc="Weather::Com - fetching weather information from weather.com"
9 arch=('i686' 'x86_64')
10 url="http://search.cpan.org/dist/${_pkgname}"
11 license=('GPL' 'PerlArtistic')
12 depends=('perl>=5.10.0' 'perl-data-dumper' 'perl-libwww' 'perl-storable' 'perl-time-format' 'perl-uri' 'perl-xml-simple')
13 options=(!emptydirs)
15 source=(http://search.cpan.org/CPAN/authors/id/S/SC/SCHNUECK/${_pkgname}-$pkgver.tar.gz)
16 md5sums=('04e3d5a02367ff0be6a0c36021ee999b')
18 build() {
19   cd $srcdir/${_pkgname}-$pkgver
21   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
23   make  || return 1
24   make install DESTDIR=$pkgdir || return 1
26   find $pkgdir -name perllocal.pod -delete
27   find $pkgdir -name .packlist -delete