From 86153d8ec2a51f6f26f0d5b7351346c2449b7f8f Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Fri, 24 Mar 2017 16:10:14 +0000 Subject: perl-class-std: initial inclusion. dep of zoneminder --- abs/core/perl_modules/perl-class-std/PKGBUILD | 49 +++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 abs/core/perl_modules/perl-class-std/PKGBUILD 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 +# 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') -- cgit v0.12