summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-31 18:25:02 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-31 18:25:02 (GMT)
commit2b7e547e3f4fc2deb7dd4428cc9d28621732c34c (patch)
tree3a5866bb0cf3672423bde0b3abdf94e40e872402 /abs/core
parentb3b1cba96395654c710502df440606f421a0ac38 (diff)
downloadlinhes_pkgbuild-2b7e547e3f4fc2deb7dd4428cc9d28621732c34c.zip
linhes_pkgbuild-2b7e547e3f4fc2deb7dd4428cc9d28621732c34c.tar.gz
linhes_pkgbuild-2b7e547e3f4fc2deb7dd4428cc9d28621732c34c.tar.bz2
perl-xml-libxslt: update to 1.96
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/perl_modules/perl-xml-libxslt/PKGBUILD41
1 files changed, 26 insertions, 15 deletions
diff --git a/abs/core/perl_modules/perl-xml-libxslt/PKGBUILD b/abs/core/perl_modules/perl-xml-libxslt/PKGBUILD
index 708898b..69b9301 100644
--- a/abs/core/perl_modules/perl-xml-libxslt/PKGBUILD
+++ b/abs/core/perl_modules/perl-xml-libxslt/PKGBUILD
@@ -1,30 +1,41 @@
-# Id:$
-# Maintainer: François Charette <firmicus ατ gmx δοτ net>
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Jonathan Steel <jsteel@aur.archlinux.org>
+# Contributor: Justin "juster" Davis <jrcd83@gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-xml-libxslt
-pkgver=1.70
-pkgrel=6
-pkgdesc="Interface to the gnome libxslt library "
-arch=('i686' 'x86_64')
+pkgver=1.96
+pkgrel=1
+pkgdesc="Interface to the gnome libxslt library"
+arch=('x86_64')
url="http://search.cpan.org/dist/XML-LibXSLT"
license=('GPL')
depends=('perl-xml-libxml' 'libxslt')
-source=(http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXSLT-$pkgver.tar.gz)
-md5sums=('c63a7913999de076e5c911810f69b392')
+checkdepends=('perl-test-pod')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXSLT-$pkgver.tar.gz)
+sha512sums=('7b6e22889c538bbd861c6420cd56893d229676d3afc1cf30e17cae48a4714139769a99a48a99f1dff52864f4989e410303007c07941625bf6bd12a24276c35e6')
build() {
- cd $srcdir/XML-LibXSLT-$pkgver
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ cd XML-LibXSLT-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor
make
}
-check () {
- cd $srcdir/XML-LibXSLT-$pkgver
+check() {
+ cd XML-LibXSLT-$pkgver
make test
}
package() {
- cd $srcdir/XML-LibXSLT-$pkgver
- make install DESTDIR=$pkgdir
+ 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;
}
-