updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / perl-mixin-extrafields / PKGBUILD
blob8a0ae3aaac0b5994e5d04840b2ecdaf1f59e8a9f
1 # CPAN Name  : Mixin-ExtraFields
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.20
4 pkgname='perl-mixin-extrafields'
5 pkgver='0.100971'
6 pkgrel='1'
7 pkgdesc="add extra stashes of data to your objects"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl' 'perl-string-rewriteprefix' 'perl-sub-exporter>=0.972' 'perl-sub-install')
13 url='http://search.cpan.org/dist/Mixin-ExtraFields'
15 source=('http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Mixin-ExtraFields-0.100971.tar.gz')
16 md5sums=('9d13ee8fb00e3cd68bfdc3b15e73073b')
18 build() {
19   DIST_DIR="${srcdir}/Mixin-ExtraFields-0.100971"
20   export PERL_MM_USE_DEFAULT=1
21   {
22         cd "$DIST_DIR" &&
23     perl Makefile.PL INSTALLDIRS=vendor &&
24     make &&
25     make test &&
26     make DESTDIR="$pkgdir" install;
27   } || return 1;
29   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete