[arch-commits] Commit in perl-xml-parser/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Jun 2 20:05:12 UTC 2015


    Date: Tuesday, June 2, 2015 @ 22:05:12
  Author: foutrelis
Revision: 240226

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  perl-xml-parser/repos/staging-i686/
  perl-xml-parser/repos/staging-i686/PKGBUILD
    (from rev 240225, perl-xml-parser/trunk/PKGBUILD)
  perl-xml-parser/repos/staging-x86_64/
  perl-xml-parser/repos/staging-x86_64/PKGBUILD
    (from rev 240225, perl-xml-parser/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   38 ++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: perl-xml-parser/repos/staging-i686/PKGBUILD (from rev 240225, perl-xml-parser/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-06-02 20:05:12 UTC (rev 240226)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-xml-parser
+pkgver=2.44
+pkgrel=2
+pkgdesc="Expat-based XML parser module for perl"
+arch=('i686' 'x86_64')
+license=('GPL' 'PerlArtistic')
+url="http://search.cpan.org/dist/XML-Parser/"
+depends=('perl' 'expat')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-${pkgver}.tar.gz")
+sha1sums=('0ab6b932713ec1f9927a1b1c619b6889a5c12849')
+
+build() {
+  cd XML-Parser-${pkgver}
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd XML-Parser-${pkgver}
+  make test
+}
+
+package() {
+  cd XML-Parser-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+# 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-parser/repos/staging-x86_64/PKGBUILD (from rev 240225, perl-xml-parser/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-06-02 20:05:12 UTC (rev 240226)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-xml-parser
+pkgver=2.44
+pkgrel=2
+pkgdesc="Expat-based XML parser module for perl"
+arch=('i686' 'x86_64')
+license=('GPL' 'PerlArtistic')
+url="http://search.cpan.org/dist/XML-Parser/"
+depends=('perl' 'expat')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-${pkgver}.tar.gz")
+sha1sums=('0ab6b932713ec1f9927a1b1c619b6889a5c12849')
+
+build() {
+  cd XML-Parser-${pkgver}
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd XML-Parser-${pkgver}
+  make test
+}
+
+package() {
+  cd XML-Parser-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+# 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