[arch-commits] Commit in haskell-hasql-dynamic-statements/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Sep 4 17:07:23 UTC 2021
Date: Saturday, September 4, 2021 @ 17:07:22
Author: felixonmars
Revision: 1011364
upgpkg: haskell-hasql-dynamic-statements 0.3.1-5: rebuild with generic-deriving 1.14.1
Modified:
haskell-hasql-dynamic-statements/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-04 16:56:09 UTC (rev 1011363)
+++ PKGBUILD 2021-09-04 17:07:22 UTC (rev 1011364)
@@ -3,7 +3,7 @@
_hkgname=hasql-dynamic-statements
pkgname=haskell-hasql-dynamic-statements
pkgver=0.3.1
-pkgrel=4
+pkgrel=5
pkgdesc="Toolkit for constructing Hasql statements dynamically"
url="https://github.com/nikita-volkov/hasql-dynamic-statements"
license=("MIT")
@@ -14,6 +14,11 @@
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
sha256sums=('0c7a7c01c9bd01ad15655635e8bbded57198ba0515b1e72391a27930bb5b45bb')
+prepare() {
+ cd $_hkgname-$pkgver
+ sed -i 's/5432/9824/' test/Main.hs
+}
+
build() {
cd $_hkgname-$pkgver
@@ -32,7 +37,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 --show-details=direct
pifpaf_stop
More information about the arch-commits
mailing list