[arch-commits] Commit in perl-yaml-libyaml/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun May 29 09:33:58 UTC 2022
Date: Sunday, May 29, 2022 @ 09:33:57
Author: felixonmars
Revision: 1214046
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 1214044, perl-yaml-libyaml/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: perl-yaml-libyaml/repos/community-staging-x86_64/PKGBUILD (from rev 1214044, perl-yaml-libyaml/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-05-29 09:33:57 UTC (rev 1214046)
@@ -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.83
+pkgrel=3
+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=('b47175b4ff397ad75a4f7781d3d83c08637da6ff0bae326af3b389d854bec490')
+
+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