[arch-commits] Commit in haskell-kan-extensions/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Jul 26 19:05:21 UTC 2021
Date: Monday, July 26, 2021 @ 19:05:21
Author: felixonmars
Revision: 985748
upgpkg: haskell-kan-extensions 5.2.2-33: rebuild with transformers-compat 0.7
Modified:
haskell-kan-extensions/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-26 18:59:33 UTC (rev 985747)
+++ PKGBUILD 2021-07-26 19:05:21 UTC (rev 985748)
@@ -4,7 +4,7 @@
_hkgname=kan-extensions
pkgname=haskell-kan-extensions
pkgver=5.2.2
-pkgrel=32
+pkgrel=33
pkgdesc="Kan extensions, Kan lifts, the Yoneda lemma, and (co)density (co)monads"
url="https://github.com/ekmett/kan-extensions/"
license=("BSD")
@@ -12,15 +12,20 @@
depends=('ghc-libs' 'haskell-adjunctions' 'haskell-comonad' 'haskell-contravariant'
'haskell-distributive' 'haskell-free' 'haskell-invariant' 'haskell-profunctors'
'haskell-semigroupoids' 'haskell-tagged' 'haskell-transformers-compat')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
sha512sums=('d49e297f102f70708ac5524844f16048a3549d97fc7c354410c25271c57e310be742137d6baadbf25351d8c358b3cac7a0d2831da80d2d482b85502e8eb51d64')
+prepare() {
+ cd $_hkgname-$pkgver
+ uusi -u transformers-compat $_hkgname.cabal
+}
+
build() {
cd $_hkgname-$pkgver
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
runhaskell Setup build $MAKEFLAGS
runhaskell Setup register --gen-script
More information about the arch-commits
mailing list