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

Felix Yan felixonmars at archlinux.org
Sun May 20 19:44:22 UTC 2018


    Date: Sunday, May 20, 2018 @ 19:44:22
  Author: felixonmars
Revision: 325619

upgpkg: haskell-wai-extra 3.0.22.1-2

rebuild with async,2.2.1

Modified:
  haskell-wai-extra/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-20 19:43:26 UTC (rev 325618)
+++ PKGBUILD	2018-05-20 19:44:22 UTC (rev 325619)
@@ -5,7 +5,7 @@
 _hkgname=wai-extra
 pkgname=haskell-wai-extra
 pkgver=3.0.22.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Provides some basic WAI handlers and middleware."
 url="https://github.com/yesodweb/wai"
 license=("MIT")
@@ -21,7 +21,7 @@
 sha512sums=('7784e7b0e4d5f4e22410ac90803a444a72b09f5ac4e1be5a8fd2dd75252639ff7668a2d8047b31f90ad858063cae0dc725ed72b8e0503c39f1da6db6309bd978')
 
 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 \
@@ -40,7 +40,7 @@
 }
 
 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"



More information about the arch-commits mailing list