# Maintainer: Kevin Piche # Contributor: Manolis Tzanidakis # Wersja dla NND: czerwo pkgname=perl-libwww pkgver=5.805 pkgrel=2nnd pkgdesc="A set of Perl modules which provides a simple and consistent API to the WWW." url="http://search.cpan.org/~gaas/libwww-perl-$pkgver" depends=('perl-uri' 'perl-html-parser') source=(http://www.cpan.org/authors/id/G/GA/GAAS/libwww-perl-$pkgver.tar.gz) md5sums=('db1eb693eee45d251966ad2bab49dbbf') build() { cd $startdir/src/libwww-perl-$pkgver # Force module installation to "current" perl directories. /usr/bin/yes "" | /usr/bin/perl Makefile.PL \ INSTALLARCHLIB=/usr/lib/perl5/current/${CARCH}-linux-thread-multi \ INSTALLSITELIB=/usr/lib/perl5/site_perl/current \ INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${CARCH}-linux-thread-multi /usr/bin/make || return 1 /usr/bin/make install DESTDIR=$startdir/pkg find $startdir/pkg -name "\.packlist" -exec sed -i "s:$startdir/pkg::" {} \; find $startdir/pkg -name "perllocal.pod" -exec rm {} \; }