# Contributor: Leonardo Arena # Maintainer: Leonardo Arena pkgname=perl-net-libidn _realname=Net-LibIDN pkgver=0.12 pkgrel=6 pkgdesc="Perl bindings for GNU Libidn" url="http://www.net-dns.org/" arch="all" license="Artistic-Perl-1.0 GPL+" depends="perl" makedepends="libidn-dev perl-dev" install="" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/T/TH/THOR/$_realname-$pkgver.tar.gz" _builddir="$srcdir/$_realname-$pkgver" build() { cd "$_builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install # creates file collision among perl modules find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="c3e4de2065009d67bcb1df0afb473e12 Net-LibIDN-0.12.tar.gz" sha256sums="2f8acc9442b3866ec7dc63cd449fc693ae3e930d5d3e5e9430fbb6f393bdbb17 Net-LibIDN-0.12.tar.gz" sha512sums="2c80d0e3d4635e225e8866a1ef6335e3b8642662101e89fde6529aa07acc1eaf8adbe20fadd1d44898651f9d67a3d00c11ff71a22a2aa3027e81643e700d79ee Net-LibIDN-0.12.tar.gz"