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

Felix Yan felixonmars at archlinux.org
Thu Dec 24 18:49:21 UTC 2020


    Date: Thursday, December 24, 2020 @ 18:49:20
  Author: felixonmars
Revision: 788634

upgpkg: haskell-comonad 5.0.7-1: rebuild with comonad 5.0.7

Modified:
  haskell-comonad/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-24 18:49:07 UTC (rev 788633)
+++ PKGBUILD	2020-12-24 18:49:20 UTC (rev 788634)
@@ -3,22 +3,23 @@
 
 _hkgname=comonad
 pkgname=haskell-comonad
-pkgver=5.0.6
-pkgrel=66
+pkgver=5.0.7
+pkgrel=1
 pkgdesc="Comonads"
 url="https://github.com/ekmett/comonad/"
 license=("BSD")
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-distributive' 'haskell-tagged' 'haskell-transformers-compat')
-makedepends=('haskell-cabal-doctest' 'ghc')
+depends=('ghc-libs' 'haskell-distributive' 'haskell-indexed-traversable' 'haskell-tagged'
+         'haskell-transformers-compat')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('0b7fc727a2b972203d1651049a4f4c371a8f134d64d36409d60fbc4d11b7eb9650c79cf917abaa3f66084d7c5e9f32b288862a5e93c3d93c16c11533a446cfa5')
+sha512sums=('6377f13b651c30aaba1f68448394a4048b15c4f8e97fe714281d15a51190b8ec6e1157a6fb332abfb75060bb2f4948db22fb35c537bf01836ed94ece99fdccce')
 
 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 \
             -fdistributive -fcontravariant -fcontainers -ftest-doctests
     runhaskell Setup build $MAKEFLAGS
@@ -28,6 +29,11 @@
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test
+}
+
 package() {
     cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list