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

19 lines
669 B
Bash

pkgname=perl-djabberd
pkgver=0.84_01
pkgrel=1
pkgdesc="Jabber daemon written on Perl"
arch=("i686" "x86_64")
url="http://search.cpan.org/~bradfitz/DJabberd/"
license=("GPL" "PerlArtistic")
depends=("perl-danga-socket" "perl-log-log4perl")
source=("http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ/DJabberd-$pkgver.tar.gz")
build() {
cd $startdir/src/DJabberd-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make pure_install doc_install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}
md5sums=('1a6ee6905609bdc7831a847c399cf481')