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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 12:55:34 UTC 2018


    Date: Wednesday, November 7, 2018 @ 12:55:34
  Author: felixonmars
Revision: 402800

upgpkg: haskell-http2 1.6.4-3

rebuild with ghc 8.6.2

Modified:
  haskell-http2/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 12:53:51 UTC (rev 402799)
+++ PKGBUILD	2018-11-07 12:55:34 UTC (rev 402800)
@@ -4,7 +4,7 @@
 _hkgname=http2
 pkgname=haskell-http2
 pkgver=1.6.4
-pkgrel=2
+pkgrel=3
 pkgdesc="HTTP/2.0 library including frames and HPACK"
 url="https://github.com/kazu-yamamoto/http2"
 license=("custom:BSD3")
@@ -17,10 +17,10 @@
 sha512sums=('f637597827abae4968f9af69a190432af6bc37b6ecf2420766341e4739cab558c20b43aecf0eb4be1ef8a8b05f3d75dfc56243ec65c0b842cba542df7d5ab8d9')
 
 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 \
             -f-devel
     runhaskell Setup build
@@ -36,11 +36,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