[arch-commits] Commit in perl-yaml-libyaml/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 09:06:57 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:06:57
  Author: foutrelis
Revision: 366259

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 366258, perl-yaml-libyaml/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: perl-yaml-libyaml/repos/community-staging-x86_64/PKGBUILD (from rev 366258, perl-yaml-libyaml/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-01 09:06:57 UTC (rev 366259)
@@ -0,0 +1,42 @@
+# $Id$
+# 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.69
+pkgrel=2
+pkgdesc="Perl YAML Serialization using XS and libyaml"
+arch=('x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='http://search.cpan.org/dist/YAML-LibYAML/'
+source=("http://search.cpan.org/CPAN/authors/id/T/TI/TINITA/YAML-LibYAML-$pkgver.tar.gz")
+sha256sums=('6348ba03ff04d22330f05397d55ed26d4e40e921efcc207fa15fcbba87dcba1a')
+
+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