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

19 lines
619 B
Bash

pkgname=perl-net-libidn
pkgver=0.12
pkgrel=1
pkgdesc="Perl/CPAN Module Net::LibIDN"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Net-LibIDN/"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-$pkgver.tar.gz")
depends=(perl libidn)
build() {
cd $startdir/src/Net-LibIDN-$pkgver
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
}
md5sums=('c3e4de2065009d67bcb1df0afb473e12')