[arch-commits] Commit in haskell-incremental-parser/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Nov 7 13:25:09 UTC 2018


    Date: Wednesday, November 7, 2018 @ 13:25:09
  Author: felixonmars
Revision: 402850

upgpkg: haskell-incremental-parser 0.3.2-5

rebuild with ghc 8.6.2

Modified:
  haskell-incremental-parser/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 13:23:36 UTC (rev 402849)
+++ PKGBUILD	2018-11-07 13:25:09 UTC (rev 402850)
@@ -4,7 +4,7 @@
 _hkgname=incremental-parser
 pkgname=haskell-incremental-parser
 pkgver=0.3.2
-pkgrel=4
+pkgrel=5
 pkgdesc="Generic parser library capable of providing partial results from partial input."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('GPL')
@@ -19,7 +19,7 @@
     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
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -36,8 +36,8 @@
 package() {
     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"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.txt"
 }


More information about the arch-commits mailing list