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

23 lines
796 B
Bash

# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-net-jabber
pkgver=2.0
pkgrel=3
pkgdesc="Perl/CPAN Module Net::Jabber : Access to the Jabber protocol"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Net-Jabber"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/R/RE/REATMON/Net-Jabber-2.0.tar.gz")
md5sums=('1fd348fb9a1a6c5a167ae862ed89cd53')
makedepends=("perl-net-xmpp")
depends=("perl-net-xmpp")
build() {
cd $startdir/src/Net-Jabber-2.0
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
}