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

Felix Yan felixonmars at archlinux.org
Thu May 31 18:03:28 UTC 2018


    Date: Thursday, May 31, 2018 @ 18:03:27
  Author: felixonmars
Revision: 335128

upgpkg: haskell-void 0.7.2-9

rebuild with ghc 8.4.3

Modified:
  haskell-void/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-31 18:01:13 UTC (rev 335127)
+++ PKGBUILD	2018-05-31 18:03:27 UTC (rev 335128)
@@ -5,16 +5,21 @@
 _hkgname=void
 pkgname=haskell-void
 pkgver=0.7.2
-pkgrel=8
+pkgrel=9
 pkgdesc="A Haskell 98 logically uninhabited data type"
 url="https://github.com/ekmett/void"
 license=("custom:BSD3")
 arch=('x86_64')
-depends=('ghc-libs' "haskell-hashable" "haskell-semigroups")
+depends=('ghc-libs' "haskell-hashable")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('a855be6592705f1b84a078e63f129a679d8a02d9df1b3ebba8a40cafa134c9ccbc3953875f4eaa53ff37133c7539b6374407f3df9d40639502a6b65ed211b7ad')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i -e '/semigroups/d' -e 's/hashable   >= 1.1,/hashable   >= 1.1/' $_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     



More information about the arch-commits mailing list