[arch-commits] Commit in haskell-http-streams/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Nov 7 19:18:43 UTC 2018


    Date: Wednesday, November 7, 2018 @ 19:18:42
  Author: felixonmars
Revision: 403132

upgpkg: haskell-http-streams 0.8.6.1-69

rebuild with ghc 8.6.2

Modified:
  haskell-http-streams/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 19:18:07 UTC (rev 403131)
+++ PKGBUILD	2018-11-07 19:18:42 UTC (rev 403132)
@@ -3,7 +3,7 @@
 _hkgname=http-streams
 pkgname=haskell-http-streams
 pkgver=0.8.6.1
-pkgrel=68
+pkgrel=69
 pkgdesc="An HTTP client using io-streams"
 url="https://github.com/afcowie/http-streams"
 license=('custom:BSD3')
@@ -34,7 +34,7 @@
     fi
 
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" "${_opts[@]}" \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -51,9 +51,9 @@
 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"
     install -D -m644 "LICENCE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
 }


More information about the arch-commits mailing list