updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / perl-net-google-authsub / PKGBUILD
blob0e6758e46e1022a0238bab1a0ca198c953651413
1 # Contributor:  Haoyu Bai <baihaoyu@gmail.com>
2 pkgname=perl-net-google-authsub
3 pkgver=0.3
4 pkgrel=1
5 pkgdesc="Perl/CPAN module Net::Google::AuthSub"
6 url="http://search.cpan.org/~simonw/Net-Google-AuthSub-0.3/"
7 depends=('perl-libwww')
8 license="GPL"
9 options=('!emptydirs')
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')
14 build() {
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