[arch-commits] Commit in perl-xml-libxslt/repos (6 files)
Florian Pritz
bluewind at archlinux.org
Fri May 27 08:02:44 UTC 2016
Date: Friday, May 27, 2016 @ 10:02:43
Author: bluewind
Revision: 177242
db-move: moved perl-xml-libxslt from [community-staging] to [community-testing] (i686, x86_64)
Added:
perl-xml-libxslt/repos/community-testing-i686/
perl-xml-libxslt/repos/community-testing-i686/PKGBUILD
(from rev 177241, perl-xml-libxslt/repos/community-staging-i686/PKGBUILD)
perl-xml-libxslt/repos/community-testing-x86_64/
perl-xml-libxslt/repos/community-testing-x86_64/PKGBUILD
(from rev 177241, perl-xml-libxslt/repos/community-staging-x86_64/PKGBUILD)
Deleted:
perl-xml-libxslt/repos/community-staging-i686/
perl-xml-libxslt/repos/community-staging-x86_64/
-----------------------------------+
community-testing-i686/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
Copied: perl-xml-libxslt/repos/community-testing-i686/PKGBUILD (from rev 177241, perl-xml-libxslt/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-05-27 08:02:43 UTC (rev 177242)
@@ -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=4
+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-testing-x86_64/PKGBUILD (from rev 177241, perl-xml-libxslt/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-05-27 08:02:43 UTC (rev 177242)
@@ -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=4
+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