Date: Monday, May 27, 2019 @ 10:45:54
  Author: kgizdov
Revision: 471277

fix upstream typo

Modified:
  lhapdf/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-05-27 10:43:38 UTC (rev 471276)
+++ PKGBUILD    2019-05-27 10:45:54 UTC (rev 471277)
@@ -3,7 +3,7 @@
 # Contributor: JP-Ellis <josh at jpellis dot me>
 pkgname=lhapdf
 pkgver=6.2.3
-pkgrel=1
+pkgrel=2
 pkgdesc="A particle physics tool for evaluating PDFs from discretised data 
files"
 arch=('x86_64')
 url="https://lhapdf.hepforge.org/";
@@ -11,12 +11,15 @@
 makedepends=('cython')
 depends=('python' 'python2')
 install=lhapdf.install
-source=("https://www.hepforge.org/archive/lhapdf/LHAPDF-${pkgver}.tar.gz";)
-sha256sums=('d6e63addc56c57b6286dc43ffc56d901516f4779a93a0f1547e14b32cfd82dd1')
+source=("https://www.hepforge.org/archive/lhapdf/LHAPDF-${pkgver}.tar.gz";
+        'fix_typo.patch')
+sha256sums=('d6e63addc56c57b6286dc43ffc56d901516f4779a93a0f1547e14b32cfd82dd1'
+            '6ababeef3831d1bc2f708d0fbbf5e759aa983a83f9bec18706d3cb1ce257b536')
 
 prepare() {
     cd "${srcdir}/LHAPDF-${pkgver}"
     sed -e 's/print Cython.Compiler.Version.version/print 
(Cython.Compiler.Version.version)/g' -i m4/cython.m4
+    patch -Np1 -i "${srcdir}/fix_typo.patch"
 }
 
 build() {

Reply via email to