updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / perl-dbix-class-introspectablem2m / PKGBUILD
blob80b537446ed24c1593eecf52f8517641a09f99e6
1 # CPAN Name  : DBIx-Class-IntrospectableM2M
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.18
4 pkgname='perl-dbix-class-introspectablem2m'
5 pkgver='0.001001'
6 pkgrel='1'
7 pkgdesc="Introspect many-to-many relationships"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl' 'perl-dbix-class' 'perl-extutils-makemaker>=6.56')
12 url='http://search.cpan.org/dist/DBIx-Class-IntrospectableM2M'
13 source=('http://search.cpan.org/CPAN/authors/id/G/GR/GRODITI/DBIx-Class-IntrospectableM2M-0.001001.tar.gz')
14 md5sums=('9c05959fdb632062ec827ec0c7335eae')
16 build() {
17   DIST_DIR="${srcdir}/DBIx-Class-IntrospectableM2M-0.001001"
18   export PERL_MM_USE_DEFAULT=1
19   { cd "$DIST_DIR" &&    perl Makefile.PL INSTALLDIRS=vendor &&
20     make &&make test &&
21     make DESTDIR="$pkgdir" install;  } || return 1;
23   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete