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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 19:06:56 UTC 2018


    Date: Tuesday, November 6, 2018 @ 19:06:52
  Author: felixonmars
Revision: 401916

upgpkg: haskell-cmark-gfm 0.1.5-4

rebuild with ghc 8.6.1

Modified:
  haskell-cmark-gfm/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 19:06:06 UTC (rev 401915)
+++ PKGBUILD	2018-11-06 19:06:52 UTC (rev 401916)
@@ -4,7 +4,7 @@
 _hkgname=cmark-gfm
 pkgname=haskell-cmark-gfm
 pkgver=0.1.5
-pkgrel=3
+pkgrel=4
 pkgdesc="Fast, accurate GitHub Flavored Markdown parser and renderer"
 url="https://github.com/kivikakk/cmark-gfm-hs"
 license=("custom:BSD3")
@@ -20,10 +20,10 @@
 }
 
 build() {
-    cd "${srcdir}/${_hkgname}-${pkgver}"
+    cd $_hkgname-$pkgver
 
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -fpkgconfig
     runhaskell Setup build
@@ -39,11 +39,11 @@
 }
 
 package() {
-    cd "${srcdir}/${_hkgname}-${pkgver}"
+    cd $_hkgname-$pkgver
 
-    install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-    install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-    runhaskell Setup copy --destdir="${pkgdir}"
+    install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+    install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+    runhaskell Setup copy --destdir="$pkgdir"
     install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
 }



More information about the arch-commits mailing list