Date: Friday, May 18, 2018 @ 20:36:13
  Author: felixonmars
Revision: 324307

upgpkg: haskell-descriptive 0.9.4-99

rebuild with ghc 8.4.2

Modified:
  haskell-descriptive/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-05-18 20:34:01 UTC (rev 324306)
+++ PKGBUILD    2018-05-18 20:36:13 UTC (rev 324307)
@@ -5,17 +5,24 @@
 _hkgname=descriptive
 pkgname=haskell-descriptive
 pkgver=0.9.4
-pkgrel=98
+pkgrel=99
 pkgdesc="Self-describing consumers/parsers; forms, cmd-line args, JSON, etc."
 url="https://github.com/chrisdone/descriptive";
 license=("custom:BSD3")
 arch=('x86_64')
-depends=('ghc-libs' "haskell-aeson" "haskell-bifunctors" "haskell-mtl" 
"haskell-scientific"
-         "haskell-text" "haskell-vector")
+depends=('ghc-libs' "haskell-aeson" "haskell-bifunctors" "haskell-scientific"
+         "haskell-vector")
 makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
-sha256sums=('795ec65756bf87ec6ea4c92d85a25d0eb0d8cfa1df40685ddcf74b83099bba2f')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";
+        
https://github.com/chrisdone/descriptive/commit/8a0cad89a6106b162bd5507b51b7a5f3a25105a7.patch)
+sha256sums=('795ec65756bf87ec6ea4c92d85a25d0eb0d8cfa1df40685ddcf74b83099bba2f'
+            '4c610a09a74489e9898d14f37ccaefb35e9729e3533d265aaa38830267a31d24')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    patch -p1 -i ../8a0cad89a6106b162bd5507b51b7a5f3a25105a7.patch || :
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     

Reply via email to