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

Felix Yan felixonmars at archlinux.org
Mon Oct 15 13:19:34 UTC 2018


    Date: Monday, October 15, 2018 @ 13:19:34
  Author: felixonmars
Revision: 394128

upgpkg: haskell-text-metrics 0.3.0-11

rebuild with ghc 8.6.1

Modified:
  haskell-text-metrics/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-15 13:19:16 UTC (rev 394127)
+++ PKGBUILD	2018-10-15 13:19:34 UTC (rev 394128)
@@ -3,7 +3,7 @@
 _hkgname=text-metrics
 pkgname=haskell-text-metrics
 pkgver=0.3.0
-pkgrel=10
+pkgrel=11
 pkgdesc="Calculate various string metrics efficiently"
 url="https://github.com/mrkkrp/text-metrics"
 license=('custom:BSD3')
@@ -13,6 +13,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('fa005ad7aeb5fd96ce121c5eab9e83e5826eec288a269f6ce258b3f6aff408c8ca98b8131b6cd14fa8e56f8568eb5a63beb63935335b7c695a3f6e09a979eccf')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *0.6/<1/' $_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     



More information about the arch-commits mailing list