# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
# Generator : CPANPLUS::Dist::Arch 1.25
pkgname='perl-class-mix'
pkgver='0.006'
pkgrel='1'
pkgdesc="dynamic class mixing"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl>=5.006' 'perl-params-classify' 'perl-module-build')
makedepends=()
url='http://search.cpan.org/dist/Class-Mix'
source=('http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Class-Mix-0.006.tar.gz')
md5sums=('14f9d08abf878afc1592f3861cf98be4')
_distdir="Class-Mix-0.006"
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "$srcdir/$_distdir"
/usr/bin/perl Build.PL
./Build
)
}
check() {
cd "$srcdir/$_distdir"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
./Build test
)
}
package() {
cd "$srcdir/$_distdir"
./Build install
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
# Local Variables:
# mode: shell-script
# sh-basic-offset: 2
# End:
# vim:set ts=2 sw=2 et: