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

Felix Yan felixonmars at archlinux.org
Fri Feb 14 17:31:16 UTC 2020


    Date: Friday, February 14, 2020 @ 17:31:15
  Author: felixonmars
Revision: 571159

upgpkg: haskell-swagger2 2.4-1: rebuild with swagger2 2.4

Modified:
  haskell-swagger2/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-14 17:15:37 UTC (rev 571158)
+++ PKGBUILD	2020-02-14 17:31:15 UTC (rev 571159)
@@ -3,8 +3,8 @@
 
 _hkgname=swagger2
 pkgname=haskell-swagger2
-pkgver=2.3.1.1
-pkgrel=87
+pkgver=2.4
+pkgrel=1
 pkgdesc="Swagger 2.0 data model"
 url="https://github.com/GetShopTV/swagger2"
 license=("BSD")
@@ -17,15 +17,12 @@
 makedepends=('ghc' 'haskell-hspec' 'haskell-hunit' 'haskell-quickcheck-instances'
              'haskell-hspec-discover' 'haskell-doctest' 'haskell-cabal-doctest' 'haskell-glob'
              'haskell-utf8-string')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz"
-        generics-sop-0.5.patch)
-sha512sums=('1834e75cc6c8ff8287605e93d2b4d665b7d8de7e7e00f6537d25e0f54934c85e5431e5f2f1beb5264382c4b81f5ed19cc2b7af1f9323ebee9502e19d73d49fc1'
-            '8f1b74df57a090f5cb1cfb9551288dc6ade326c486ebb432767bfb1a0571ff1104269b19b4e2fbed8c5427cd432b3d0c1d18adb19f971b5fd441affbc88c27b6')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('49608aa6d7e52629dc6e0ca811ad1847117bc5ee9af144e49ea8b5c2f23126c058aa749b70aa5f5f7205eeb382b8e5637974a716ca3f752e7eb66753fa22d42e')
 
 prepare() {
     cd $_hkgname-$pkgver
-    patch -p1 -i ../generics-sop-0.5.patch
-    sed -i -e 's/< *0.8/<1/' -e 's/< *1/<2/' -e 's/< *2/<3/' -e 's/< *0.11/<1/' -e 's/< *4/<5/' $_hkgname.cabal
+    sed -i -e 's/< *0/<1/' -e 's/< *2/<3/' -e 's/< *4/<5/' $_hkgname.cabal
 }
 
 build() {



More information about the arch-commits mailing list