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

Felix Yan felixonmars at archlinux.org
Sat Nov 30 17:06:03 UTC 2019


    Date: Saturday, November 30, 2019 @ 17:06:03
  Author: felixonmars
Revision: 534595

upgpkg: haskell-hasql 1.4-28

rebuild with comonad 5.0.6

Modified:
  haskell-hasql/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-30 16:35:01 UTC (rev 534594)
+++ PKGBUILD	2019-11-30 17:06:03 UTC (rev 534595)
@@ -4,7 +4,7 @@
 _hkgname=hasql
 pkgname=haskell-hasql
 pkgver=1.4
-pkgrel=27
+pkgrel=28
 pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
 url="https://github.com/nikita-volkov/hasql"
 license=('MIT')
@@ -19,6 +19,12 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('c9587fa14052e8b7c449d94cb6b319c41eecf4892ce7f6def1c187bfbca6ca03f389d01da50c7acf0e672855b51f6e833b84a72ec7f6a3e3f4a4a237c7e6fb5a')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    # Do not use default postgres port
+    sed -i 's/5432/9824/' tasty/Main/*.hs threads-test/*.hs profiling/*.hs
+}
+
 build() {
     cd $_hkgname-$pkgver
 
@@ -35,7 +41,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