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

Felix Yan felixonmars at archlinux.org
Tue Jul 16 07:50:59 UTC 2019


    Date: Tuesday, July 16, 2019 @ 07:50:58
  Author: felixonmars
Revision: 489964

upgpkg: haskell-stmonadtrans 0.4.4-1

rebuild with STMonadTrans 0.4.4

Modified:
  haskell-stmonadtrans/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-16 07:50:56 UTC (rev 489963)
+++ PKGBUILD	2019-07-16 07:50:58 UTC (rev 489964)
@@ -3,22 +3,22 @@
 
 _hkgname=STMonadTrans
 pkgname=haskell-stmonadtrans
-pkgver=0.4.3
-pkgrel=13
+pkgver=0.4.4
+pkgrel=1
 pkgdesc="A monad transformer version of the ST monad"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("BSD")
 arch=('x86_64')
 depends=('ghc-libs')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('c14d629bde9541677b107cf4d78feb7af355c8ac93728ad85d0887cb1200d8234d956d9e23aa4927c410ab2c6d24ec94a4ade37951bc51ff3bde877a4e4f1382')
+sha512sums=('3ab7ff50223f975066cde1227fb23e00263786fa8c5b9d0276fdcc265bb1ac2e5cea97f3fb7fd51aaf25872b126645312c4c622084947dea430d214eac44938b')
 
 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 \
             -fsplitbase
     runhaskell Setup build
@@ -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