[arch-commits] Commit in haskell-wai-websockets/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Nov 7 18:25:04 UTC 2018


    Date: Wednesday, November 7, 2018 @ 18:25:03
  Author: felixonmars
Revision: 403069

upgpkg: haskell-wai-websockets 3.0.1.2-55

rebuild with ghc 8.6.2

Modified:
  haskell-wai-websockets/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 18:24:35 UTC (rev 403068)
+++ PKGBUILD	2018-11-07 18:25:03 UTC (rev 403069)
@@ -4,7 +4,7 @@
 _hkgname=wai-websockets
 pkgname=haskell-wai-websockets
 pkgver=3.0.1.2
-pkgrel=54
+pkgrel=55
 pkgdesc="Provide a bridge between WAI and the websockets package."
 url="https://github.com/yesodweb/wai"
 license=("MIT")
@@ -16,10 +16,10 @@
 sha512sums=('c3415d1a36ca2f063fb1ae0ff7d3d9d271d8ff2c6099a754baed45f1c36f24cf1fa346e8e6403499cbeb329bcdf89326a9ed95f8e60111b4a879f5e51967ecc0')
 
 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 \
             -f-example
     runhaskell Setup build
@@ -30,11 +30,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