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

Felix Yan felixonmars at archlinux.org
Sat Dec 15 08:49:09 UTC 2018


    Date: Saturday, December 15, 2018 @ 08:49:05
  Author: felixonmars
Revision: 416331

upgpkg: haskell-brick 0.45-1

rebuild with brick 0.45

Modified:
  haskell-brick/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-15 08:48:16 UTC (rev 416330)
+++ PKGBUILD	2018-12-15 08:49:05 UTC (rev 416331)
@@ -3,8 +3,8 @@
 
 _hkgname=brick
 pkgname=haskell-brick
-pkgver=0.43
-pkgrel=3
+pkgver=0.45
+pkgrel=1
 pkgdesc="A declarative terminal user interface library"
 url="https://github.com/jtdaugherty/brick"
 license=("BSD")
@@ -11,17 +11,16 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-vty' 'haskell-data-clist' 'haskell-dlist' 'haskell-microlens'
          'haskell-microlens-th' 'haskell-microlens-mtl' 'haskell-config-ini' 'haskell-vector'
-         'haskell-contravariant' 'haskell-text-zipper'
-         'haskell-word-wrap')
-makedepends=('ghc')
+         'haskell-contravariant' 'haskell-text-zipper' 'haskell-word-wrap')
+makedepends=('ghc' 'haskell-quickcheck')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('2ca966d8938b789f86e15811b4d67e4ccc14db74fd3862611e3ec102d75a36e467d57fc2ba7db8d8de65a4491221e11c8740919e4424be9ba97b664da04c7b5c')
+sha512sums=('d07377a49489696e596137d858d30c5abc9702a808c17f947ad99c479bf5f44a01230257be88e5606b18e69e1ec92ad32df48cd7fb30972274cef42b0503b01c')
 
 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-demos
     runhaskell Setup build
@@ -31,6 +30,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