[arch-commits] Commit in postgrest/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Apr 25 07:33:16 UTC 2020
Date: Saturday, April 25, 2020 @ 07:33:16
Author: felixonmars
Revision: 619825
upgpkg: postgrest 7.0.0-18: rebuild with ghc 8.10.1, protolude 0.3.0, repline 0.3.0.0, ghc-lib-parser-ex 8.10.0.1, th-desugar 1.11, singletons 2.7
Modified:
postgrest/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-25 07:18:39 UTC (rev 619824)
+++ PKGBUILD 2020-04-25 07:33:16 UTC (rev 619825)
@@ -3,7 +3,7 @@
pkgname=postgrest
pkgver=7.0.0
-pkgrel=17
+pkgrel=18
pkgdesc="REST API for any Postgres database"
url="https://github.com/begriffs/postgrest"
license=("MIT")
@@ -22,12 +22,15 @@
makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai'
'haskell-hspec-wai-json' 'haskell-monad-control' 'haskell-transformers-base')
checkdepends=('pifpaf' 'postgresql' 'procps-ng')
-source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz")
-sha512sums=('e52bca7c4ab37909b57b8d004244e7b0471464141cea5193ed01e39a60f7adb551064d3d3dd4230042b04730fdf8d6b8151bb3789b90c413680e6a3e496c383c')
+source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz"
+ $pkgname-protolude-0.3.patch::https://github.com/PostgREST/postgrest/commit/3da5a2875e2c0e9314c419ccd08f6fcc8f558e74.patch)
+sha512sums=('e52bca7c4ab37909b57b8d004244e7b0471464141cea5193ed01e39a60f7adb551064d3d3dd4230042b04730fdf8d6b8151bb3789b90c413680e6a3e496c383c'
+ '50efa36aba1e31525ff8f342b2980a7106fa86909dfc03cb91121149b590fbdeff2b09dbe2256fffd90cd5362852c0eea6cb6b0045f094bfedf943c4e4b7001e')
prepare() {
cd $pkgname-$pkgver
- sed -i 's/< *4.19/<5/' $pkgname.cabal
+ patch -p1 -i ../$pkgname-protolude-0.3.patch || :
+ sed -i 's/< *4.1/<5/;s/< *0.3/<1/' $pkgname.cabal
sed -i -e '/ fail /d' src/PostgREST/Config.hs
sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
}
More information about the arch-commits
mailing list