[arch-commits] Commit in perl-xml-fast/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Jun 14 15:34:05 UTC 2015
Date: Sunday, June 14, 2015 @ 17:34:05
Author: foutrelis
Revision: 135295
archrelease: copy trunk to community-staging-x86_64, community-staging-i686
Added:
perl-xml-fast/repos/community-staging-i686/
perl-xml-fast/repos/community-staging-i686/PKGBUILD
(from rev 135294, perl-xml-fast/trunk/PKGBUILD)
perl-xml-fast/repos/community-staging-x86_64/
perl-xml-fast/repos/community-staging-x86_64/PKGBUILD
(from rev 135294, perl-xml-fast/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
Copied: perl-xml-fast/repos/community-staging-i686/PKGBUILD (from rev 135294, perl-xml-fast/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-06-14 15:34:05 UTC (rev 135295)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: trizen .= x at gmail.com
+
+pkgname=perl-xml-fast
+pkgver=0.11
+pkgrel=6
+pkgdesc="Simple and very fast XML to hash conversion."
+arch=('x86_64' 'i686')
+url="http://search.cpan.org/dist/XML-Fast/"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/M/MO/MONS/XML-Fast-${pkgver}.tar.gz")
+md5sums=('a2985cc2f328cf9eda6ad75c3f40f6b3')
+
+build() {
+ cd "${srcdir}/XML-Fast-${pkgver}"
+
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+ make
+}
+
+package() {
+ cd "${srcdir}/XML-Fast-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
Copied: perl-xml-fast/repos/community-staging-x86_64/PKGBUILD (from rev 135294, perl-xml-fast/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-06-14 15:34:05 UTC (rev 135295)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: trizen .= x at gmail.com
+
+pkgname=perl-xml-fast
+pkgver=0.11
+pkgrel=6
+pkgdesc="Simple and very fast XML to hash conversion."
+arch=('x86_64' 'i686')
+url="http://search.cpan.org/dist/XML-Fast/"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/M/MO/MONS/XML-Fast-${pkgver}.tar.gz")
+md5sums=('a2985cc2f328cf9eda6ad75c3f40f6b3')
+
+build() {
+ cd "${srcdir}/XML-Fast-${pkgver}"
+
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+ make
+}
+
+package() {
+ cd "${srcdir}/XML-Fast-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
More information about the arch-commits
mailing list