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

Felix Yan felixonmars at archlinux.org
Fri Aug 17 10:33:49 UTC 2018


    Date: Friday, August 17, 2018 @ 10:33:49
  Author: felixonmars
Revision: 372471

upgpkg: haskell-cmark-gfm 0.1.4-1

rebuild with cmark-gfm 0.1.4

Modified:
  haskell-cmark-gfm/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-17 10:32:39 UTC (rev 372470)
+++ PKGBUILD	2018-08-17 10:33:49 UTC (rev 372471)
@@ -4,22 +4,19 @@
 
 _hkgname=cmark-gfm
 pkgname=haskell-cmark-gfm
-pkgver=0.1.3
-pkgrel=6
+pkgver=0.1.4
+pkgrel=1
 pkgdesc="Fast, accurate GitHub Flavored Markdown parser and renderer"
 url="https://github.com/kivikakk/cmark-gfm-hs"
 license=("custom:BSD3")
 arch=('x86_64')
-depends=('ghc-libs') # 'cmark-gfm'
+depends=('ghc-libs' 'cmark-gfm')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('c12b533c377a7433e78acb39d0ec743e6c2b341f25e6c6722cfb543297b2a4c936c8d2dd5ef878e931bdb829b4a556ef630854c3dad442b5f464e91fbe6ed9c0')
+sha512sums=('34e914039b385b66859b9438330619c9d0895ed8a71b4de38c66a3bbcc8bf1fafb663afb5e3c8d2ae897351c5fba204ddf44017644860578721946f1a184ecd3')
 
 prepare() {
-    # Disabled system cmark-gfm completely because the header files are unusable: https://github.com/github/cmark/issues/62
-    # Cabal errors due to the strange version https://github.com/haskell/cabal/issues/4860
-    # sed -i 's/pkgconfig-depends: libcmark-gfm/Extra-Libraries: cmark-gfm/' $_hkgname-$pkgver/$_hkgname.cabal
-    :
+    sed -i 's/pkgconfig-depends: libcmark-gfm/Extra-Libraries: cmark-gfm/' $_hkgname-$pkgver/$_hkgname.cabal
 }
 
 build() {
@@ -28,7 +25,7 @@
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-            -f-pkgconfig
+            -fpkgconfig
     runhaskell Setup build
     runhaskell Setup register --gen-script
     runhaskell Setup unregister --gen-script



More information about the arch-commits mailing list