pkgname=perl-net-xmpp2 pkgver=0.14 pkgrel=1 pkgdesc="Perl/CPAN Module Net::XMPP2" arch=("i686" "x86_64") url="http://search.cpan.org/dist/Net-XMPP2/" license=("GPL" "PerlArtistic") source=("http://search.cpan.org/CPAN/authors/id/E/EL/ELMEX/Net-XMPP2-$pkgver.tar.gz") depends=(perl perl-net-libidn perl-anyevent perl-object-event perl-xml-writer perlxml perl-authen-sasl \ perl-net-libidn perl-net-ssleay perl-net-dns perl-digest-sha1) build() { cd $startdir/src/Net-XMPP2-$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=('d87da314302ca5c59ea0ba7b3c37db9f')