[arch-commits] Commit in haskell-fast-logger/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Mar 22 21:28:18 UTC 2022
Date: Tuesday, March 22, 2022 @ 21:28:17
Author: felixonmars
Revision: 1170560
upgpkg: haskell-fast-logger 3.1.1-1: rebuild with fast-logger 3.1.1
Modified:
haskell-fast-logger/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-22 21:26:12 UTC (rev 1170559)
+++ PKGBUILD 2022-03-22 21:28:17 UTC (rev 1170560)
@@ -3,8 +3,8 @@
_hkgname=fast-logger
pkgname=haskell-fast-logger
-pkgver=3.1.0
-pkgrel=10
+pkgver=3.1.1
+pkgrel=1
pkgdesc="A fast logging system"
url="https://github.com/kazu-yamamoto/logger"
license=("BSD")
@@ -11,15 +11,15 @@
arch=('x86_64')
depends=('ghc-libs' 'haskell-auto-update' 'haskell-easy-file' 'haskell-unix-compat'
'haskell-unix-time')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-discover')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('98c331a8029da3e629c5a90888d44b27b01378254d7c18eeeeb7404091af08881c64ade635e6416670956c8f978673f6a3dcac7cc4031c32ed957494a644cce3')
+sha512sums=('264164d169dac55fee8879bb83f4671d072ed9d43f192c29f239519274938091840654476b1f6b0e16342848ee1bf4818877c48cabb25830f319e06899eca3d7')
build() {
cd $_hkgname-$pkgver
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm
runhaskell Setup build $MAKEFLAGS
runhaskell Setup register --gen-script
@@ -28,6 +28,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