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

Felix Yan felixonmars at archlinux.org
Sat May 19 06:34:18 UTC 2018


    Date: Saturday, May 19, 2018 @ 06:34:17
  Author: felixonmars
Revision: 324373

upgpkg: haskell-semigroupoids 5.2.2-17

rebuild with base-compat,0.10.1 aeson,1.3.1.1

Modified:
  haskell-semigroupoids/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-19 06:30:18 UTC (rev 324372)
+++ PKGBUILD	2018-05-19 06:34:17 UTC (rev 324373)
@@ -5,14 +5,14 @@
 _hkgname=semigroupoids
 pkgname=haskell-semigroupoids
 pkgver=5.2.2
-pkgrel=16
+pkgrel=17
 pkgdesc="Semigroupoids: Category sans id"
 url="https://github.com/ekmett/semigroupoids"
 license=("custom:BSD3")
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-base-orphans' 'haskell-bifunctors' 'haskell-comonad' 'haskell-contravariant'
-         'haskell-distributive' 'haskell-hashable' 'haskell-semigroups' 'haskell-tagged'
-         'haskell-transformers-compat' 'haskell-unordered-containers')
+         'haskell-distributive' 'haskell-hashable' 'haskell-tagged' 'haskell-transformers-compat'
+         'haskell-unordered-containers')
 makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('8a972716a0d74bf9e539864614cd7b0ccede283efdb7a4f84ca691ec89fbe1aa9e2322e79c608adce9904a06457294a071007ba1eb84475896e41d629c60b90c')
@@ -19,7 +19,8 @@
 
 prepare() {
     cd $_hkgname-$pkgver
-    sed -i 's/<.*0.14/<1/' $_hkgname.cabal
+    sed -e 's/<.*0.14/<1/' -e '/semigroups/d' -i $_hkgname.cabal
+    sed -i 's/#if MIN_VERSION_semigroups.*/#if 1/' src/Data/Semigroup/Traversable/Class.hs src/Data/Semigroup/Foldable/Class.hs
 }
 
 build() {



More information about the arch-commits mailing list