[arch-commits] Commit in haskell-cmark-gfm/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Aug 26 13:27:25 UTC 2018


    Date: Sunday, August 26, 2018 @ 13:27:25
  Author: felixonmars
Revision: 374229

upgpkg: haskell-cmark-gfm 0.1.5-1

rebuild with cmark-gfm 0.1.5

Modified:
  haskell-cmark-gfm/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-26 13:26:02 UTC (rev 374228)
+++ PKGBUILD	2018-08-26 13:27:25 UTC (rev 374229)
@@ -4,8 +4,8 @@
 
 _hkgname=cmark-gfm
 pkgname=haskell-cmark-gfm
-pkgver=0.1.4
-pkgrel=2
+pkgver=0.1.5
+pkgrel=1
 pkgdesc="Fast, accurate GitHub Flavored Markdown parser and renderer"
 url="https://github.com/kivikakk/cmark-gfm-hs"
 license=("custom:BSD3")
@@ -12,15 +12,12 @@
 arch=('x86_64')
 depends=('ghc-libs' 'cmark-gfm')
 makedepends=('ghc' 'haskell-hunit')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz"
-        system-cmark-gfm.patch)
-sha512sums=('34e914039b385b66859b9438330619c9d0895ed8a71b4de38c66a3bbcc8bf1fafb663afb5e3c8d2ae897351c5fba204ddf44017644860578721946f1a184ecd3'
-            '8924169921274e52590535f052922c80b999088be8a38d39a86f8b4a567d05106d03ae9ae8b497cb683331c3a3aa23cd8ae4b3143ce62edc2a5d2281f29ad382')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('24887a7217abf02a154b5babb76eb40f5d2b5dbb0631622408f807aaa1f5b6b9dba77e89690bec68262bee1978c51f22a5a51fd643bda17a521b313964de1958')
 
 prepare() {
     cd $_hkgname-$pkgver
-    # https://github.com/kivikakk/cmark-gfm-hs/issues/8
-    patch -p1 -i ../system-cmark-gfm.patch
+    sed -i 's/cmark-gfmextensions/cmark-gfm-extensions/' $_hkgname.cabal
 }
 
 build() {



More information about the arch-commits mailing list