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

Felix Yan fyan at archlinux.org
Wed May 11 03:32:50 UTC 2016


    Date: Wednesday, May 11, 2016 @ 05:32:50
  Author: fyan
Revision: 174737

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

Added:
  perl-xml-libxslt/repos/community-staging-i686/
  perl-xml-libxslt/repos/community-staging-i686/PKGBUILD
    (from rev 174736, perl-xml-libxslt/trunk/PKGBUILD)
  perl-xml-libxslt/repos/community-staging-x86_64/
  perl-xml-libxslt/repos/community-staging-x86_64/PKGBUILD
    (from rev 174736, perl-xml-libxslt/trunk/PKGBUILD)

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

Copied: perl-xml-libxslt/repos/community-staging-i686/PKGBUILD (from rev 174736, perl-xml-libxslt/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-05-11 03:32:50 UTC (rev 174737)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin "juster" Davis <jrcd83 at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-xml-libxslt
+pkgver=1.94
+pkgrel=3
+pkgdesc="Interface to the gnome libxslt library"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/XML-LibXSLT"
+license=('GPL')
+depends=('perl-xml-libxml' 'libxslt')
+checkdepends=('perl-test-pod')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXSLT-$pkgver.tar.gz)
+md5sums=('a32045699c001d960d6f94891f9e853c')
+
+build() {
+  cd XML-LibXSLT-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd XML-LibXSLT-$pkgver
+  make test
+}
+
+package() {
+  cd XML-LibXSLT-$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-libxslt/repos/community-staging-x86_64/PKGBUILD (from rev 174736, perl-xml-libxslt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-05-11 03:32:50 UTC (rev 174737)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin "juster" Davis <jrcd83 at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-xml-libxslt
+pkgver=1.94
+pkgrel=3
+pkgdesc="Interface to the gnome libxslt library"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/XML-LibXSLT"
+license=('GPL')
+depends=('perl-xml-libxml' 'libxslt')
+checkdepends=('perl-test-pod')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXSLT-$pkgver.tar.gz)
+md5sums=('a32045699c001d960d6f94891f9e853c')
+
+build() {
+  cd XML-LibXSLT-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd XML-LibXSLT-$pkgver
+  make test
+}
+
+package() {
+  cd XML-LibXSLT-$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