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

Felix Yan felixonmars at archlinux.org
Thu Feb 7 11:50:09 UTC 2019


    Date: Thursday, February 7, 2019 @ 11:50:08
  Author: felixonmars
Revision: 429851

upgpkg: haskell-snap-server 1.1.1.0-1

rebuild with snap-core 1.0.4.0, snap-server 1.1.1.0

Modified:
  haskell-snap-server/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-07 11:48:21 UTC (rev 429850)
+++ PKGBUILD	2019-02-07 11:50:08 UTC (rev 429851)
@@ -2,8 +2,8 @@
 
 _hkgname=snap-server
 pkgname=haskell-snap-server
-pkgver=1.1.0.0
-pkgrel=86
+pkgver=1.1.1.0
+pkgrel=1
 pkgdesc="A web server for the Snap Framework"
 url="https://github.com/snapframework/snap-server"
 license=('BSD')
@@ -14,15 +14,18 @@
          'haskell-vector')
 makedepends=('ghc')
 checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 'haskell-random'
-             'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 'haskell-http-streams'
-             'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
-             'haskell-test-framework-hunit' 'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('ccd438310746c59bd7456df69c072ad3a2d473eb69f721fe2c91e086f4916d386c8b83a786d7ff9de11f0ce5294e36034baf10b0a109c65e16ec771e688a1184')
+              'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 'haskell-http-streams'
+              'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+              'haskell-test-framework-hunit' 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+	https://github.com/snapframework/snap-server/commit/d38d24d2f452c299c2b941dba36db63fac2c6bcb.patch)
+sha512sums=('072033389c9b699c1aa497bcd37c89605b5188b30e828330d510e9c3f76872ecf61f7c91d536f7b31269ec001ecee9459433d125a12a101643c24cc3cf92f0a7'
+            'b99da752954abe699ffd9c601c7f88fdacacdaca9fd05dbf5dc999adc371872b6f0108b80d6c01df8604dfe95b5ea69051ecedfbf91725dc3503164ba00bea71')
 
 prepare() {
     cd $_hkgname-$pkgver
-    sed -i -e '/bytestring-builder/d' -e 's/<.*2.7/<3/' -e 's/< *0.6/<1/' -e 's/< *4.12/<5/' $_hkgname.cabal
+    patch -p1 -i ../d38d24d2f452c299c2b941dba36db63fac2c6bcb.patch
+    sed -i -e '/bytestring-builder/d' $_hkgname.cabal
 }
 
 build() {



More information about the arch-commits mailing list