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

Jelle van der Waa jelle at archlinux.org
Fri Jun 11 19:18:47 UTC 2021


    Date: Friday, June 11, 2021 @ 19:18:47
  Author: jelle
Revision: 962845

drop haskell-semigroups as it's part of GHC

Modified:
  haskell-classy-prelude/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-11 19:17:48 UTC (rev 962844)
+++ PKGBUILD	2021-06-11 19:18:47 UTC (rev 962845)
@@ -10,7 +10,7 @@
 license=(MIT)
 depends=(ghc-libs haskell-async haskell-chunked-data haskell-dlist
          haskell-hashable haskell-mono-traversable haskell-mtl haskell-primitive
-         haskell-unliftio haskell-stm-chans haskell-semigroups
+         haskell-unliftio haskell-stm-chans
          haskell-unordered-containers haskell-vector-instances
          haskell-say haskell-mutable-containers haskell-basic-prelude
          haskell-mono-traversable-instances)
@@ -19,6 +19,11 @@
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
 sha512sums=('eb8afb8a8988d0b251f6b3c2046f3ad943201d35379bfcd21f024afa67031c1b43677f43b22a0dd88e5e586a669bf5cb0b7348e13f40bbef624d09a3c6c62dfd')
 
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/semigroups/d' classy-prelude.cabal
+}
+
 build() {
   cd $_hkgname-$pkgver
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \



More information about the arch-commits mailing list