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

Felix Yan felixonmars at archlinux.org
Sun Dec 1 19:58:55 UTC 2019


    Date: Sunday, December 1, 2019 @ 19:58:55
  Author: felixonmars
Revision: 534648

upgpkg: haskell-hasql-pool 0.5.1-32

rebuild with comonad 5.0.6

Modified:
  haskell-hasql-pool/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-01 19:54:03 UTC (rev 534647)
+++ PKGBUILD	2019-12-01 19:58:55 UTC (rev 534648)
@@ -4,7 +4,7 @@
 _hkgname=hasql-pool
 pkgname=haskell-hasql-pool
 pkgver=0.5.1
-pkgrel=31
+pkgrel=32
 pkgdesc="A pool of connections for Hasql"
 url="https://github.com/nikita-volkov/hasql-pool"
 license=('MIT')
@@ -15,6 +15,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('09f25a26f2317a0cdfa578ddb0ab23f6077c3e2849da2d4ecb72f2e1c63a57693b566269a2a01b5fb2bca8a3c85871ee6c24be715e9c9b810001447cee1c4a3e')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/5432/9824/' test/Main.hs
+}
+
 build() {
     cd $_hkgname-$pkgver
     
@@ -31,7 +36,7 @@
 check() {
     cd $_hkgname-$pkgver
 
-    eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432)
+    eval $(pifpaf run postgresql --host 127.0.0.1)
     createuser -s postgres
     #runhaskell Setup test
     pifpaf_stop



More information about the arch-commits mailing list