updated on Tue Jan 17 20:03:13 UTC 2012
[aur-mirror.git] / perl-lwp-protocol-socks / PKGBUILD
blob658a91100c054f1499c7ded7e50920cd5a4ea358
1 # Maintainer: Petrenko Alexey <alexey-p at uralweb dot ru>
2 pkgname=perl-lwp-protocol-socks
3 pkgver=1.3
4 pkgrel=1
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')
8 arch=('any')
9 license=('GPL')
10 options=('!emptydirs')
11 source=("http://search.cpan.org/CPAN/authors/id/S/SC/SCR/LWP-Protocol-socks-$pkgver.tar.gz")
12 md5sums=('670f553e738ba44ae575b3f60eccf1a3')
14 build() {
15   cd  "$srcdir/LWP-Protocol-socks-$pkgver"
17   perl Makefile.PL INSTALLDIRS=vendor || return 1
18   make || return 1
19   make test || 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;