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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 17:38:17 UTC 2018


    Date: Wednesday, November 7, 2018 @ 17:38:17
  Author: felixonmars
Revision: 402998

upgpkg: haskell-http-client-tls 0.3.5.3-83

rebuild with ghc 8.6.2

Modified:
  haskell-http-client-tls/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 17:37:33 UTC (rev 402997)
+++ PKGBUILD	2018-11-07 17:38:17 UTC (rev 402998)
@@ -4,7 +4,7 @@
 _hkgname=http-client-tls
 pkgname=haskell-http-client-tls
 pkgver=0.3.5.3
-pkgrel=82
+pkgrel=83
 pkgdesc="http-client backend using the connection package and tls library"
 url="https://github.com/snoyberg/http-client"
 license=("MIT")
@@ -18,10 +18,10 @@
 sha512sums=('df4fff9fbd6736a52d54bf04669107b24e3d31c22b0f7882310204ca4ef1a895e9f79cea289423341aa575759a2667ff9ca86b889567605ad3daec266a1bbb14')
 
 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}" \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -31,11 +31,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