updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / perl-net-telnet-cisco / PKGBUILD
blob187410a94532b8082b5ebf9620d8f100075efccc
1 # Contributor: Mark Smith <markzzzsmith@yahoo.com.au>
2 pkgname=perl-net-telnet-cisco
3 _realname=Net-Telnet-Cisco
4 pkgver=1.10
5 pkgrel=1
6 pkgdesc="Perl/CPAN Net::Telnet::Cisco"
7 arch=(i686 x86_64)
8 license=('PerlArtistic')
9 url="http://search.cpan.org/dist/${_realname}/"
10 depends=('perl-net-telnet')
11 options=(!emptydirs)
12 source=(http://search.cpan.org/CPAN/authors/id/J/JO/JOSHUA/${_realname}-${pkgver}.tar.gz)
13 md5sums=('a25845350be369cb8354e0ddc55708f9')
15 build() {
17         cd ${startdir}/src/${_realname}-${pkgver}
19         PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
21         make || return 1
23         make install DESTDIR=${startdir}/pkg || return 1
25         find ${startdir}/pkg -name .packlist -delete
26         find $startdir/pkg -name '*.pod' -delete