summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-03-24 16:10:14 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-03-24 16:10:14 (GMT)
commit86153d8ec2a51f6f26f0d5b7351346c2449b7f8f (patch)
treebc60637c6a0c2535d21a8204a3b4da4c236e959c
parentd0bf508ec661ea3a076720e971536048a6f637ae (diff)
downloadlinhes_pkgbuild-86153d8ec2a51f6f26f0d5b7351346c2449b7f8f.zip
linhes_pkgbuild-86153d8ec2a51f6f26f0d5b7351346c2449b7f8f.tar.gz
linhes_pkgbuild-86153d8ec2a51f6f26f0d5b7351346c2449b7f8f.tar.bz2
perl-class-std: initial inclusion. dep of zoneminder
-rw-r--r--abs/core/perl_modules/perl-class-std/PKGBUILD49
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')