[arch-commits] Commit in perl-yaml-libyaml/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 08:47:12 UTC 2019
Date: Saturday, May 25, 2019 @ 08:47:12
Author: felixonmars
Revision: 469905
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 469904, perl-yaml-libyaml/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: perl-yaml-libyaml/repos/community-staging-x86_64/PKGBUILD (from rev 469904, perl-yaml-libyaml/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-05-25 08:47:12 UTC (rev 469905)
@@ -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=2
+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