diff options
Diffstat (limited to 'community/perl-www-curl/PKGBUILD')
-rw-r--r-- | community/perl-www-curl/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/community/perl-www-curl/PKGBUILD b/community/perl-www-curl/PKGBUILD new file mode 100644 index 000000000..fdae94bee --- /dev/null +++ b/community/perl-www-curl/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 35718 2010-12-22 01:29:59Z tdziedzic $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Charles Mauch <cmauch@gmail.com> + +pkgname=perl-www-curl +pkgver=4.12 +pkgrel=2 +pkgdesc="Perl/CPAN Module WWW::Curl" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/WWW-Curl/" +license=("GPL" "PerlArtistic") +depends=("curl") +source=("http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT/WWW-Curl-$pkgver.tar.gz") +md5sums=('b7f0eaf81b118d9a9b4e94b40aa40543') + +build() { + cd $srcdir/WWW-Curl-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} |