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

Felix Yan felixonmars at archlinux.org
Thu May 17 10:12:22 UTC 2018


    Date: Thursday, May 17, 2018 @ 10:12:21
  Author: felixonmars
Revision: 323627

upgpkg: haskell-http-media 0.7.1.2-5

rebuild with ghc 8.4.2

Modified:
  haskell-http-media/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-17 10:10:20 UTC (rev 323626)
+++ PKGBUILD	2018-05-17 10:12:21 UTC (rev 323627)
@@ -5,7 +5,7 @@
 _hkgname=http-media
 pkgname=haskell-http-media
 pkgver=0.7.1.2
-pkgrel=4
+pkgrel=5
 pkgdesc="Processing HTTP Content-Type and Accept headers"
 url="https://github.com/zmthy/http-media"
 license=("MIT")
@@ -15,6 +15,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('eacbfb1b8d879fa509f6c599878cfa139fe46f5d787bbc59d51bc4dac625fc7b68313b9621336d96b1c61a65acf5cbde4e28bd00e8e1862849f55df6c72f7f11')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/<.*4.11/<5/' $_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 



More information about the arch-commits mailing list