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

Felix Yan felixonmars at archlinux.org
Wed Apr 1 22:57:42 UTC 2020


    Date: Wednesday, April 1, 2020 @ 22:57:42
  Author: felixonmars
Revision: 609331

upgpkg: haskell-servant 0.17-18: rebuild with QuickCheck 2.14

Modified:
  haskell-servant/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-01 22:52:10 UTC (rev 609330)
+++ PKGBUILD	2020-04-01 22:57:42 UTC (rev 609331)
@@ -4,7 +4,7 @@
 _hkgname=servant
 pkgname=haskell-servant
 pkgver=0.17
-pkgrel=17
+pkgrel=18
 pkgdesc="A family of combinators for defining webservices APIs"
 url="http://haskell-servant.readthedocs.org/"
 license=("BSD")
@@ -18,6 +18,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('ce0b64441e497d771b5af4e7516ef2b47502b59d1158b22e80194ebda79f34e9346d994a3e4af6fe2e3a8742c7a52166fa76eed98ec8153b602b9db225aeae3b')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *2.14/<3/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list