[arch-commits] Commit in haskell-test-framework-hunit/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Oct 23 16:20:25 UTC 2016


    Date: Sunday, October 23, 2016 @ 16:20:24
  Author: felixonmars
Revision: 193081

upgpkg: haskell-test-framework-hunit 0.3.0.2-8

rebuild with HUnit-1.5.0.0, quickcheck-io-0.1.4, hspec-expectations-0.8.2, hspec-discover-2.3.2, hspec-core-2.3.2, hspec-2.3.2

Modified:
  haskell-test-framework-hunit/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-23 16:01:17 UTC (rev 193080)
+++ PKGBUILD	2016-10-23 16:20:24 UTC (rev 193081)
@@ -5,7 +5,7 @@
 _hkgname=test-framework-hunit
 pkgname=haskell-test-framework-hunit
 pkgver=0.3.0.2
-pkgrel=7
+pkgrel=8
 pkgdesc="HUnit support for the test-framework package."
 url="https://batterseapower.github.io/test-framework/"
 license=("custom:BSD3")
@@ -14,6 +14,10 @@
 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('95cb8ee02a850b164bfdabdf4dbc839d621361f3ac770ad21ea43a8bde360bf8')
 
+prepare() {
+    sed -i 's/HUnit >= 1.2 && < 1.4/HUnit >= 1.2 \&\& < 1.6/' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     



More information about the arch-commits mailing list