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

Felix Yan felixonmars at gemini.archlinux.org
Sun Mar 13 10:23:18 UTC 2022


    Date: Sunday, March 13, 2022 @ 10:23:18
  Author: felixonmars
Revision: 1150709

upgpkg: haskell-monad-logger 0.3.36-175: rebuild with fast-logger 3.1.0

Modified:
  haskell-monad-logger/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-13 10:17:40 UTC (rev 1150708)
+++ PKGBUILD	2022-03-13 10:23:18 UTC (rev 1150709)
@@ -4,9 +4,9 @@
 _hkgname=monad-logger
 pkgname=haskell-monad-logger
 pkgver=0.3.36
-pkgrel=174
+pkgrel=175
 pkgdesc="A class of monads which can log messages."
-url="https://github.com/kazu-yamamoto/logger"
+url="https://github.com/snoyberg/monad-logger"
 license=("MIT")
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-conduit' 'haskell-conduit-extra'
@@ -13,15 +13,20 @@
          'haskell-fast-logger' 'haskell-lifted-base' 'haskell-monad-control' 'haskell-monad-loops'
          'haskell-resourcet' 'haskell-stm-chans'
          'haskell-transformers-base' 'haskell-transformers-compat' 'haskell-unliftio-core')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('c2dcf616f9e58be024f0bec144cd60cf78f465c1a8df6cf1ae0d896a44303e2bc8bdc18cf0f2cdf56c4485d1506d23b1417d84c66f327c73362da2aec71abdc0')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    uusi -u fast-logger $_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 --ghc-option=-fllvm \
             -ftemplate_haskell
     runhaskell Setup build $MAKEFLAGS



More information about the arch-commits mailing list