[arch-commits] Commit in perl-yaml-libyaml/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 24 08:36:50 UTC 2021
Date: Monday, May 24, 2021 @ 08:36:49
Author: felixonmars
Revision: 944047
archrelease: copy trunk to community-staging-x86_64
Added:
perl-yaml-libyaml/repos/community-staging-x86_64/
perl-yaml-libyaml/repos/community-staging-x86_64/PKGBUILD
(from rev 944045, perl-yaml-libyaml/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: perl-yaml-libyaml/repos/community-staging-x86_64/PKGBUILD (from rev 944045, perl-yaml-libyaml/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-05-24 08:36:49 UTC (rev 944047)
@@ -0,0 +1,41 @@
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator : CPANPLUS::Dist::Arch 1.32
+
+pkgname='perl-yaml-libyaml'
+pkgver=0.75
+pkgrel=6
+pkgdesc="Perl YAML Serialization using XS and libyaml"
+arch=('x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='https://search.cpan.org/dist/YAML-LibYAML/'
+source=("https://cpan.metacpan.org/authors/id/T/TI/TINITA/YAML-LibYAML-$pkgver.tar.gz")
+sha256sums=('62ccd4a87daaf3576054f9027d9f3321116374a3a3882eb07166cf01b33792ca')
+
+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/YAML-LibYAML-$pkgver"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/YAML-LibYAML-$pkgver"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/YAML-LibYAML-$pkgver"
+ make install
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
More information about the arch-commits
mailing list