diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/perl_modules/perl-class-std/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-class-std/PKGBUILD b/abs/core/perl_modules/perl-class-std/PKGBUILD new file mode 100644 index 0000000..dafacbc --- /dev/null +++ b/abs/core/perl_modules/perl-class-std/PKGBUILD @@ -0,0 +1,49 @@ +# 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-std' +pkgver='0.013' +pkgrel='1' +pkgdesc="Support for creating standard \"inside-out\" classes" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=() +url='http://search.cpan.org/dist/Class-Std' +source=('http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Class-Std-0.013.tar.gz') +_distdir="Class-Std-$pkgver" + +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 Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make 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: +md5sums=('82bcc56d9769edce671b0bd0e183ec3a') |