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

Felix Yan felixonmars at archlinux.org
Sat May 2 04:24:27 UTC 2020


    Date: Saturday, May 2, 2020 @ 04:24:27
  Author: felixonmars
Revision: 624295

upgpkg: haskell-servant-swagger 1.1.8-39: rebuild with swagger2 2.6

Modified:
  haskell-servant-swagger/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-02 04:23:27 UTC (rev 624294)
+++ PKGBUILD	2020-05-02 04:24:27 UTC (rev 624295)
@@ -4,7 +4,7 @@
 _hkgname=servant-swagger
 pkgname=haskell-servant-swagger
 pkgver=1.1.8
-pkgrel=38
+pkgrel=39
 pkgdesc="Generate Swagger specification for your servant API."
 url="https://github.com/haskell-servant/servant-swagger"
 license=("BSD")
@@ -20,7 +20,7 @@
 
 prepare() {
     cd $_hkgname-$pkgver
-    sed -i 's/< *4.1/<5/' $_hkgname.cabal
+    sed -i 's/< *4.1/<5/;s/< *2.6/<3/' $_hkgname.cabal
 }
 
 build() {


More information about the arch-commits mailing list