diff options
author | Erich Eckner <git@eckner.net> | 2016-04-29 14:31:58 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-29 14:31:58 +0200 |
commit | e58f42804eeedb24f79a525cf3208c49db614971 (patch) | |
tree | 1ea0690c66ccb2cecaed34ffd3115ec7bc3bad59 /perl-type-tiny | |
parent | e225b28cefc1338175d55f31418a99bbc3e20424 (diff) | |
download | archlinuxewe.git.save-e58f42804eeedb24f79a525cf3208c49db614971.tar.xz |
perl-type-tiny neu
Diffstat (limited to 'perl-type-tiny')
-rw-r--r-- | perl-type-tiny/PKGBUILD | 44 |
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 +} |