PKGBUILDs/community/perl-danga-socket/PKGBUILD

20 lines
657 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
pkgname=perl-danga-socket
pkgver=1.61
pkgrel=1
pkgdesc="Perl/CPAN Module Danga::Socket"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Danga-Socket/"
license=("GPL" "PerlArtistic")
depends=("perl-sys-syscall")
source=("http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ/Danga-Socket-$pkgver.tar.gz")
build() {
cd $startdir/src/Danga-Socket-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make pure_install doc_install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}
md5sums=('dc8f481b35172a090b977f3dea7fa24a')