1 # Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
2 # Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
3 # Generator : CPANPLUS::Dist::Arch 1.32
5 pkgname='perl-yaml-libyaml'
8 pkgdesc="Perl YAML Serialization using XS and libyaml"
10 license=('PerlArtistic' 'GPL')
11 options=('!emptydirs')
14 url='https://search.cpan.org/dist/YAML-LibYAML/'
15 source=("https://cpan.metacpan.org/authors/id/I/IN/INGY/YAML-LibYAML-$pkgver.tar.gz")
16 sha256sums=('b139675326591c95d2e431be8d8dd13fd87080b5826716de99879fc5e614f9d8')
19 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
20 PERL_AUTOINSTALL=--skipdeps \
21 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \
22 PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
23 MODULEBUILDRC=/dev/null
24 cd "$srcdir/YAML-LibYAML-$pkgver"
25 /usr/bin/perl Makefile.PL
31 cd "$srcdir/YAML-LibYAML-$pkgver"
32 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
38 cd "$srcdir/YAML-LibYAML-$pkgver"
40 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete