summaryrefslogtreecommitdiff
path: root/pcr/perl-text-bibtex
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/perl-text-bibtex')
-rw-r--r--pcr/perl-text-bibtex/PKGBUILD15
-rw-r--r--pcr/perl-text-bibtex/perl-text-bibtex.patch9
2 files changed, 12 insertions, 12 deletions
diff --git a/pcr/perl-text-bibtex/PKGBUILD b/pcr/perl-text-bibtex/PKGBUILD
index dbbf00655..aa3426051 100644
--- a/pcr/perl-text-bibtex/PKGBUILD
+++ b/pcr/perl-text-bibtex/PKGBUILD
@@ -1,25 +1,24 @@
# Contributor (Arch): Andreas dot Wagner at em dot uni-frankfurt dot de
-# Contributor : Márcio Silva <coadde@parabola.nu>
+# Contributor: Márcio Silva <coadde@parabola.nu>
pkgname=perl-text-bibtex
_cpanname=Text-BibTeX
-pkgver=0.70
-pkgrel=2
+pkgver=0.71
+pkgrel=1
pkgdesc="Parse BibTeX files"
arch=('any')
url="http://search.cpan.org/dist/${_cpanname}"
license=('GPL1')
depends=('perl')
makedepends=('perl-config-autoconf>=0.16' 'perl-extutils-libbuilder' \
- 'perl-capture-tiny' )
+ 'perl-capture-tiny' 'perl-module-build')
options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/A/AM/AMBS/${_cpanname}-${pkgver}.tar.gz)
source=(http://www.cpan.org/authors/id/A/AM/AMBS/${_cpanname}-${pkgver}.tar.gz
perl-text-bibtex.patch)
prepare() {
cd $srcdir/${_cpanname}-${pkgver}
- patch -p0 -i "$srcdir/$pkgname.patch"
+ patch -Np1 -i "$srcdir/$pkgname.patch"
}
build() {
@@ -36,5 +35,5 @@ package() {
find $pkgdir -name '*.pod' -delete
}
-md5sums=('2dfdccab7c747d1805df432f4935ce66'
- '92be523571d1a6daea9c0940b3fce008')
+md5sums=('a616d5df23dc0552a85608bd15bf03d1'
+ '70f386b7ae62c32551db9d24222cedf1')
diff --git a/pcr/perl-text-bibtex/perl-text-bibtex.patch b/pcr/perl-text-bibtex/perl-text-bibtex.patch
index 8e9c6a741..71bbac912 100644
--- a/pcr/perl-text-bibtex/perl-text-bibtex.patch
+++ b/pcr/perl-text-bibtex/perl-text-bibtex.patch
@@ -1,6 +1,7 @@
---- Build.PL 2014-09-01 21:12:14.000000000 +0100
-+++ Build.PL.new 2015-01-31 16:34:51.567227766 +0000
-@@ -58,38 +58,7 @@ my $builder = MyBuilder->new
+diff -Nur Text-BibTeX-0.71.orig/Build.PL Text-BibTeX-0.71/Build.PL
+--- Text-BibTeX-0.71.orig/Build.PL 2015-05-28 11:50:47.000000000 -0300
++++ Text-BibTeX-0.71/Build.PL 2016-01-03 18:17:49.479188491 -0300
+@@ -61,38 +61,7 @@
],
);
@@ -25,7 +26,7 @@
- unlink catfile($libdir, $target);
- }
-} else {
-- if ($Config{archname} =~ /^x86_64/) {
+- if ($Config{archname} =~ /^x86_64|^ppc64|^s390x|^aarch64/) {
- $libdir =~ s/\bbin\b/lib64/;
- if (!-d $libdir) {
- my $test = $libdir;