1 # Contributor: Haoyu Bai <baihaoyu@gmail.com>
2 pkgname=perl-net-google-authsub
5 pkgdesc="Perl/CPAN module Net::Google::AuthSub"
6 url="http://search.cpan.org/~simonw/Net-Google-AuthSub-0.3/"
7 depends=('perl-libwww')
10 arch=('i686' 'x86_64')
11 source=(http://search.cpan.org/CPAN/authors/id/S/SI/SIMONW/Net-Google-AuthSub-$pkgver.tar.gz)
12 md5sums=('f11da01654ccc1b6f78171b4f14b092c')
15 cd $startdir/src/Net-Google-AuthSub-$pkgver
16 eval `perl -V:archname`
17 /usr/bin/perl Makefile.PL \
18 INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
19 INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
20 INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
21 /usr/bin/make || return 1
22 /usr/bin/make DESTDIR=$startdir/pkg install
23 /usr/bin/find $startdir/pkg -name '.packlist' -delete
24 /usr/bin/find $startdir/pkg -name '*.pod' -delete