summaryrefslogtreecommitdiff
path: root/perl-declare-constraints-simple/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-21 09:14:02 +0200
committerErich Eckner <git@eckner.net>2016-04-21 09:14:02 +0200
commitd3abf5ce4ba04e75daac1965b4b45f166c7f0c2f (patch)
treef317b7b9fb8ca393ece35399f1dd79e1694552f4 /perl-declare-constraints-simple/PKGBUILD
parentc6d6e3f57500aef05486ec700014b6ec1481d7e3 (diff)
downloadarchlinuxewe.git.save-d3abf5ce4ba04e75daac1965b4b45f166c7f0c2f.tar.xz
perl-declare-constraints-simple neu
Diffstat (limited to 'perl-declare-constraints-simple/PKGBUILD')
-rw-r--r--perl-declare-constraints-simple/PKGBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/perl-declare-constraints-simple/PKGBUILD b/perl-declare-constraints-simple/PKGBUILD
new file mode 100644
index 00000000..89a56b8e
--- /dev/null
+++ b/perl-declare-constraints-simple/PKGBUILD
@@ -0,0 +1,51 @@
+# 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
+# Maintainer : Erich Eckner <arch at eckner dot net>
+
+pkgname='perl-declare-constraints-simple'
+pkgver='0.03'
+pkgrel='1'
+pkgdesc="Declarative Validation of Data Structures"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-aliased' 'perl-carp-clan' 'perl-class-inspector')
+makedepends=()
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
+url='http://search.cpan.org/dist/Declare-Constraints-Simple'
+source=("http://search.cpan.org/CPAN/authors/id/P/PH/PHAYLON/Declare-Constraints-Simple-${pkgver}.tar.gz")
+sha512sums=('acf34e8ce62b5abbd59b03d67bf91474565a32048aab84440c5895c2acde2561dab773c124e9b26ef6f25c87804ec38db73e0eb08ed9626cabdd86cb5f38de7a')
+_distdir="Declare-Constraints-Simple-${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: