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

Felix Yan felixonmars at archlinux.org
Wed Jan 8 23:41:35 UTC 2020


    Date: Wednesday, January 8, 2020 @ 23:41:35
  Author: felixonmars
Revision: 550877

upgpkg: haskell-http-media 0.8.0.0-2: rebuild with ghc 8.8.1, cabal-doctest 1.0.7, polyparse 1.13, primitive 0.7.0.0, regex-base 0.94.0.0, regex-pcre 0.95.0.0, regex-posix 0.96.0.0, regex-tdfa 1.3.1.0, easytest 0.3, unexceptionalio 0.5.0

Modified:
  haskell-http-media/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-08 23:37:24 UTC (rev 550876)
+++ PKGBUILD	2020-01-08 23:41:35 UTC (rev 550877)
@@ -4,7 +4,7 @@
 _hkgname=http-media
 pkgname=haskell-http-media
 pkgver=0.8.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Processing HTTP Content-Type and Accept headers"
 url="https://github.com/zmthy/http-media"
 license=("MIT")
@@ -14,6 +14,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('549fa1892c81224e79bad4268993e0cfa324d9d0c9daa0d800ac7cc4eee307405155989672c49adb0e124ca29c2d83cc565ba3c935fd3be4ab4ef0594b012bb5')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *4.13/<5/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list