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

Evangelos Foutras foutrelis at archlinux.org
Thu Jun 1 11:27:36 UTC 2017


    Date: Thursday, June 1, 2017 @ 11:27:35
  Author: foutrelis
Revision: 297229

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

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

-------------------------+
 staging-i686/PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: perl-html-parser/repos/staging-i686/PKGBUILD (from rev 297228, perl-html-parser/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2017-06-01 11:27:35 UTC (rev 297229)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+# Contributor: Manolis Tzanidakis
+# Contributor: Firmicus <francois.archlinux.org>
+
+pkgname=perl-html-parser
+pkgver=3.72
+pkgrel=3
+pkgdesc="Perl HTML parser class"
+arch=('i686' 'x86_64')
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/HTML-Parser/"
+depends=('perl-html-tagset')
+checkdepends=('perl-test-pod')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-${pkgver}.tar.gz)
+md5sums=('eb7505e5f626913350df9dd4a03d54a8')
+
+build() {
+  cd HTML-Parser-${pkgver}
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd HTML-Parser-${pkgver}
+  make test
+}
+
+package() {
+  cd HTML-Parser-${pkgver}
+  make install DESTDIR="${pkgdir}"
+# 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-html-parser/repos/staging-x86_64/PKGBUILD (from rev 297228, perl-html-parser/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-06-01 11:27:35 UTC (rev 297229)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+# Contributor: Manolis Tzanidakis
+# Contributor: Firmicus <francois.archlinux.org>
+
+pkgname=perl-html-parser
+pkgver=3.72
+pkgrel=3
+pkgdesc="Perl HTML parser class"
+arch=('i686' 'x86_64')
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/HTML-Parser/"
+depends=('perl-html-tagset')
+checkdepends=('perl-test-pod')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-${pkgver}.tar.gz)
+md5sums=('eb7505e5f626913350df9dd4a03d54a8')
+
+build() {
+  cd HTML-Parser-${pkgver}
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd HTML-Parser-${pkgver}
+  make test
+}
+
+package() {
+  cd HTML-Parser-${pkgver}
+  make install DESTDIR="${pkgdir}"
+# 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