1 # Maintainer: Petrenko Alexey <alexey-p at uralweb dot ru>
2 pkgname=perl-lwp-protocol-socks
5 pkgdesc='Adds support for the socks protocol and proxy facility'
6 url='http://search.cpan.org/~scr/LWP-Protocol-socks-1.3/'
7 depends=('perl-libwww' 'perl-io-socket-ssl' 'perl-io-socket-socks')
10 options=('!emptydirs')
11 source=("http://search.cpan.org/CPAN/authors/id/S/SC/SCR/LWP-Protocol-socks-$pkgver.tar.gz")
12 md5sums=('670f553e738ba44ae575b3f60eccf1a3')
15 cd "$srcdir/LWP-Protocol-socks-$pkgver"
17 perl Makefile.PL INSTALLDIRS=vendor || return 1
20 make DESTDIR="$pkgdir" install || return 1
22 # Removing unnecessary stuff
23 find "$pkgdir" -type f -name 'perllocal.pod' -delete;
24 find "$pkgdir" -type f -name '.packlist' -delete;