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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 18:22:14 UTC 2018


    Date: Wednesday, November 7, 2018 @ 18:22:12
  Author: felixonmars
Revision: 403060

upgpkg: haskell-http-conduit 2.3.2-74

rebuild with ghc 8.6.2

Modified:
  haskell-http-conduit/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 18:22:06 UTC (rev 403059)
+++ PKGBUILD	2018-11-07 18:22:12 UTC (rev 403060)
@@ -4,7 +4,7 @@
 _hkgname=http-conduit
 pkgname=haskell-http-conduit
 pkgver=2.3.2
-pkgrel=73
+pkgrel=74
 pkgdesc="HTTP client package with conduit interface and HTTPS support"
 url="http://www.yesodweb.com/book/http-conduit"
 license=("custom:BSD3")
@@ -20,10 +20,10 @@
 sha512sums=('5c62f8f43c27645ad8b938ab9cfc6654f1c191dabe38f547a9dfd0b82964de514e8f89fc14a94319aa6bd6d6f223f6aa81001ee1c519c141acb9516b505bf03b')
 
 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
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -38,11 +38,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