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

Felix Yan felixonmars at archlinux.org
Wed Dec 30 19:05:32 UTC 2020


    Date: Wednesday, December 30, 2020 @ 19:05:32
  Author: felixonmars
Revision: 800168

enable tests as the relevant Cabal issue was fixed

Modified:
  haskell-vty/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-30 19:04:30 UTC (rev 800167)
+++ PKGBUILD	2020-12-30 19:05:32 UTC (rev 800168)
@@ -20,7 +20,7 @@
 sha512sums=('bd7a59d3c1336d045b7abab4b4c02ecba5d88617189a0a4ef7bd03609e6590d365fca297db827d709075f56c79b83e5fc020f7d6156b1e98a450fe2dafb06f6e')
 
 prepare() {
-    uusi -u microlens $_hkgname-$pkgver/$_hkgname.cabal
+    uusi -u microlens -u random $_hkgname-$pkgver/$_hkgname.cabal
 }
 
 build() {
@@ -27,7 +27,7 @@
     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
     runhaskell Setup build $MAKEFLAGS
     runhaskell Setup register --gen-script
@@ -37,10 +37,8 @@
 }
 
 check() {
-    # https://github.com/jtdaugherty/vty/issues/132
-    # https://github.com/haskell/cabal/issues/4918
     cd $_hkgname-$pkgver
-    # runhaskell Setup test
+    runhaskell Setup test
 }
 
 package() {



More information about the arch-commits mailing list