PKGBUILDs/community/perl-net-telnet/PKGBUILD
2009-10-09 21:15:33 -05:00

21 lines
758 B
Bash

# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-net-telnet
pkgver=3.03
pkgrel=3
pkgdesc="Perl/CPAN Module Net::Telnet : Interact with TELNET port or other TCP ports"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Net-Telnet"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/J/JR/JROGERS/Net-Telnet-3.03.tar.gz")
md5sums=('2f7d34b09d6117baefe89d44cff9d5fc')
build() {
cd $startdir/src/Net-Telnet-3.03
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}