diff options
Diffstat (limited to 'community/perl-net-libidn/PKGBUILD')
-rw-r--r-- | community/perl-net-libidn/PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/community/perl-net-libidn/PKGBUILD b/community/perl-net-libidn/PKGBUILD new file mode 100644 index 000000000..fd0280247 --- /dev/null +++ b/community/perl-net-libidn/PKGBUILD @@ -0,0 +1,22 @@ +# $Id: PKGBUILD 35697 2010-12-22 01:23:45Z tdziedzic $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=perl-net-libidn +pkgver=0.12 +pkgrel=3 +pkgdesc="Perl/CPAN Module Net::LibIDN" +arch=("i686" "x86_64") +url="http://search.cpan.org/dist/Net-LibIDN/" +license=("GPL" "PerlArtistic") +depends=(perl libidn) +source=("http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-$pkgver.tar.gz") +md5sums=('c3e4de2065009d67bcb1df0afb473e12') + +build() { + cd $srcdir/Net-LibIDN-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} |