[arch-commits] Commit in perl-yaml-libyaml/repos (2 files)
Sergej Pupykin
spupykin at archlinux.org
Thu Jun 2 19:11:22 UTC 2016
Date: Thursday, June 2, 2016 @ 21:11:22
Author: spupykin
Revision: 177765
archrelease: copy trunk to community-any
Added:
perl-yaml-libyaml/repos/community-any/
perl-yaml-libyaml/repos/community-any/PKGBUILD
(from rev 177764, perl-yaml-libyaml/trunk/PKGBUILD)
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Copied: perl-yaml-libyaml/repos/community-any/PKGBUILD (from rev 177764, perl-yaml-libyaml/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2016-06-02 19:11:22 UTC (rev 177765)
@@ -0,0 +1,50 @@
+# $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'
+_distdir="YAML-LibYAML-0.62"
+pkgver='0.62'
+pkgrel='1'
+pkgdesc="Perl YAML Serialization using XS and libyaml"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='https://metacpan.org/release/YAML-LibYAML'
+source=('http://search.cpan.org/CPAN/authors/id/T/TI/TINITA/YAML-LibYAML-0.62.tar.gz')
+md5sums=('e8e0ba8c9f589c809ee04bb526ae03d7')
+
+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/$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/$_distdir"
+ make install
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list