summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl-type-tiny/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/perl-type-tiny/PKGBUILD b/perl-type-tiny/PKGBUILD
new file mode 100644
index 00000000..bbdee26d
--- /dev/null
+++ b/perl-type-tiny/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Generator : neuesPerlPaket (c5ad2c9a17883435e14ac3343816be21cae693586e5330d497f678cbddf0b57f05d555b2fc1095096617fb98dab73cfd4db2a674a88ec04c617a9c1ea504a7d7)
+
+pkgname='perl-type-tiny'
+pkgver='1.000005'
+pkgrel='1'
+pkgdesc='tiny, yet Moo(se)-compatible type constraint'
+arch=('x86_64' 'i686')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-devel-lexalias>=0.05' 'perl-devel-stacktrace' 'perl-sub-name' 'perl-type-tie' 'perl-type-tiny-xs>=0.010' 'perl-exporter-tiny>=0.026')
+makedepends=('perl-extutils-makemaker>=6.17')
+conflicts=('perl-kavorka<=0.013' 'perl-types-readonly<=0.001')
+url='https://metacpan.org/release/Type-Tiny'
+_distdir="Type-Tiny-${pkgver}"
+source=("https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${_distdir}.tar.gz")
+sha512sums=('5817ee937384cccbea71fa69f8c2202d721c648a18eedf089529fbb956b2d050b889606e69c8bc3e1d94fb6f638b6cac01394b5534f17a8be6cdf82d69b965b6')
+
+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}"
+ 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
+}