[arch-commits] Commit in haskell-monad-logger/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Aug 27 10:02:30 UTC 2022
Date: Saturday, August 27, 2022 @ 10:02:30
Author: felixonmars
Revision: 1284626
upgpkg: haskell-monad-logger 0.3.37-1: rebuild with monad-logger 0.3.37
Modified:
haskell-monad-logger/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-27 10:00:20 UTC (rev 1284625)
+++ PKGBUILD 2022-08-27 10:02:30 UTC (rev 1284626)
@@ -3,8 +3,8 @@
_hkgname=monad-logger
pkgname=haskell-monad-logger
-pkgver=0.3.36
-pkgrel=233
+pkgver=0.3.37
+pkgrel=1
pkgdesc="A class of monads which can log messages."
url="https://github.com/snoyberg/monad-logger"
license=("MIT")
@@ -13,15 +13,10 @@
'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' 'uusi')
+makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('c2dcf616f9e58be024f0bec144cd60cf78f465c1a8df6cf1ae0d896a44303e2bc8bdc18cf0f2cdf56c4485d1506d23b1417d84c66f327c73362da2aec71abdc0')
+sha512sums=('4e1f4062df16b9b9c161fbba96eca753221081656df5259da9096b30dafe1a0aecd752d6f46fd2320eed35a8caefa3f6e0c4576b1cc563fcceeb1a34bac8f400')
-prepare() {
- cd $_hkgname-$pkgver
- uusi -u fast-logger $_hkgname.cabal
-}
-
build() {
cd $_hkgname-$pkgver
@@ -36,6 +31,11 @@
sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
}
+check() {
+ cd $_hkgname-$pkgver
+ runhaskell Setup test --show-details=direct
+}
+
package() {
cd $_hkgname-$pkgver
More information about the arch-commits
mailing list