[arch-commits] Commit in perl-yaml-tiny/repos (community-any community-any/PKGBUILD)
Felix Yan
fyan at archlinux.org
Wed Jul 23 10:38:27 UTC 2014
Date: Wednesday, July 23, 2014 @ 12:38:27
Author: fyan
Revision: 116159
archrelease: copy trunk to community-any
Added:
perl-yaml-tiny/repos/community-any/
perl-yaml-tiny/repos/community-any/PKGBUILD
(from rev 116158, perl-yaml-tiny/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: perl-yaml-tiny/repos/community-any/PKGBUILD (from rev 116158, perl-yaml-tiny/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2014-07-23 10:38:27 UTC (rev 116159)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: AUR Perl <aurperl at juster.info>
+# Generator : CPANPLUS::Dist::Arch 1.15
+
+pkgname=perl-yaml-tiny
+pkgver=1.62
+pkgrel=2
+pkgdesc="Read/Write YAML files with as little code as possible"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=('perl-module-build-tiny' 'perl-test-harness')
+url='http://search.cpan.org/dist/YAML-Tiny'
+source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/YAML-Tiny-$pkgver.tar.gz")
+md5sums=('1308d3244d1b27088b4c101bf9705e9d')
+
+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-Tiny-${pkgver}"
+ /usr/bin/perl Build.PL
+ ./Build
+ )
+}
+
+package() {
+ cd "${srcdir}/YAML-Tiny-${pkgver}"
+ ./Build 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