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

19 lines
752 B
Bash

pkgname=perl-djabberd-rosterstorage-sqlite
pkgver=1.00
pkgrel=1
pkgdesc="DJabberd sqlite roster storage module"
arch=("i686" "x86_64")
url="http://search.cpan.org/~bradfitz/DJabberd-RosterStorage-SQLite/"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ/DJabberd-RosterStorage-SQLite-$pkgver.tar.gz")
depends=("perl-djabberd" "perl-dbd-sqlite")
md5sums=('6b8e666ab55e1e2bc455bdce5e6f4e42')
build() {
cd $startdir/src/DJabberd-RosterStorage-SQLite-$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
}