[arch-commits] Commit in haskell-input-parsers/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Mar 26 22:10:35 UTC 2021


    Date: Friday, March 26, 2021 @ 22:10:35
  Author: felixonmars
Revision: 904807

upgpkg: haskell-input-parsers 0.1.0.1-91: rebuild with attoparsec 0.14.1

Modified:
  haskell-input-parsers/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-26 22:00:28 UTC (rev 904806)
+++ PKGBUILD	2021-03-26 22:10:35 UTC (rev 904807)
@@ -3,7 +3,7 @@
 _hkgname=input-parsers
 pkgname=haskell-input-parsers
 pkgver=0.1.0.1
-pkgrel=90
+pkgrel=91
 pkgdesc="Extension of the parsers library with more capability and efficiency"
 url="https://github.com/blamario/input-parsers"
 license=('BSD')
@@ -10,11 +10,15 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-attoparsec' 'haskell-monoid-subclasses' 'haskell-parsers')
 makedepends=('ghc' 'uusi')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('f8ede5b34b34a3b16e9fcda7f8eb22bce274a8c14b69be8836484d28729197be43a96cfe55bd852369662be68157afff6648538b1c4b05e919282b0ae3dc989d')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+        $_hkgname-import-fixes.patch::https://github.com/blamario/input-parsers/commit/999f30ca7c243ef46379b60bd1dcc7be43d28e65.patch)
+sha512sums=('f8ede5b34b34a3b16e9fcda7f8eb22bce274a8c14b69be8836484d28729197be43a96cfe55bd852369662be68157afff6648538b1c4b05e919282b0ae3dc989d'
+            '82897bcfc69d9658971854782232de9c64745159489f287735dac0aed32481ba12962c5108ff07e528038e94ab29391528a8783dc885b413a2fee77c50c889f5')
 
 prepare() {
-    uusi -u monoid-subclasses $_hkgname-$pkgver/$_hkgname.cabal
+    cd $_hkgname-$pkgver
+    patch -p1 -i ../$_hkgname-import-fixes.patch
+    uusi -u monoid-subclasses $_hkgname.cabal
 }
 
 build() {



More information about the arch-commits mailing list