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

Felix Yan felixonmars at archlinux.org
Wed Feb 3 13:20:50 UTC 2021


    Date: Wednesday, February 3, 2021 @ 13:20:50
  Author: felixonmars
Revision: 843198

upgpkg: haskell-clock 0.8.2-1: rebuild with clock 0.8.2

Modified:
  haskell-clock/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-03 13:16:28 UTC (rev 843197)
+++ PKGBUILD	2021-02-03 13:20:50 UTC (rev 843198)
@@ -3,22 +3,22 @@
 
 _hkgname=clock
 pkgname=haskell-clock
-pkgver=0.8
-pkgrel=8
+pkgver=0.8.2
+pkgrel=1
 pkgdesc="High-resolution clock functions: monotonic, realtime, cputime."
 url="https://github.com/corsis/clock"
 license=("BSD")
 arch=('x86_64')
 depends=('ghc-libs')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-quickcheck')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('c966811e3df10d299a8c5a56f0d9ffeaea1e819516d3efb1f2454254bd828e891e579894ca4783f3249e35793b1721a4a4fae867c8e2e4d2d6519ee9abd752b9')
+sha512sums=('42a7681ae8f1357c4ae39f51a15d7a00f3d587c8fc787d648308f914702471e6f9b32ee51fa1e8164a77f195600fdab8e27d45aa13a7052a921c4b8c246b891e')
 
 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 \
             -f-llvm
     runhaskell Setup build $MAKEFLAGS
@@ -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