[arch-commits] Commit in haskell-hspec-megaparsec/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Mar 11 18:54:04 UTC 2020


    Date: Wednesday, March 11, 2020 @ 18:54:04
  Author: felixonmars
Revision: 594576

upgpkg: haskell-hspec-megaparsec 2.0.1-21: rebuild with megaparsec 8.0.0

Modified:
  haskell-hspec-megaparsec/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-11 18:50:25 UTC (rev 594575)
+++ PKGBUILD	2020-03-11 18:54:04 UTC (rev 594576)
@@ -3,7 +3,7 @@
 _hkgname=hspec-megaparsec
 pkgname=haskell-hspec-megaparsec
 pkgver=2.0.1
-pkgrel=20
+pkgrel=21
 pkgdesc="Utility functions for testing Megaparsec parsers with Hspec"
 url="https://github.com/goldfirere/hspec-megaparsec"
 license=('BSD')
@@ -10,9 +10,16 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-hspec-expectations' 'haskell-megaparsec')
 makedepends=('ghc' 'haskell-hspec')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('758994fccc31b03bb0bec281aa522b83ef0f1c08ab9baeaefbdb2a3e9ab4be51adf5ec839935538379cdfb6b4bfdfc834f8b485cbbd073ea5aff4fbdbfbeed0f')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+        https://github.com/mrkkrp/hspec-megaparsec/commit/9603717ecfda0496d7a0a08d3b33a527bbd403cb.patch)
+sha512sums=('758994fccc31b03bb0bec281aa522b83ef0f1c08ab9baeaefbdb2a3e9ab4be51adf5ec839935538379cdfb6b4bfdfc834f8b485cbbd073ea5aff4fbdbfbeed0f'
+            'ac01228e1c9e25a01e33490e5e2195e6fb24769421e47bc41bfcce33a854417ec45f4bba14e29a227d5a94f331b2bff4b53fa852b7e764cd88a27fd3a50ba5ee')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    patch -p1 -i ../9603717ecfda0496d7a0a08d3b33a527bbd403cb.patch || :
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list