updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / perl-www-checksite / PKGBUILD
blobb9f383ed24758b8da1021c5e2ce336304a4429d9
1 # Contributor: Ermak <ermak@email.it>
2 pkgname=perl-www-checksite
3 pkgver=0.019
4 pkgrel=1
5 pkgdesc="A base class for spidering the web"
6 url="http://search.cpan.org/~abeltje/WWW-CheckSite/lib/WWW/CheckSite/Spider.pm"
7 depends=('')
8 license=('GPL')
9 options=('!emptydirs')
10 arch=('i686' 'x86_64')
11 source=('http://search.cpan.org/CPAN/authors/id/A/AB/ABELTJE/snapdir/WWW-CheckSite-0.019_52.tar.gz') 
12 md5sums=('9fcc4448a5bcfb19e1f20fa6be1d1792')
14 build() {
15   cd  ${srcdir}/WWW-CheckSite-0.019_52
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=${pkgdir} install
23   /usr/bin/find ${pkgdir} -name '.packlist' -delete
24   /usr/bin/find ${pkgdir} -name '*.pod' -delete