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

Felix Yan felixonmars at archlinux.org
Mon Jan 22 08:27:49 UTC 2018


    Date: Monday, January 22, 2018 @ 08:27:47
  Author: felixonmars
Revision: 284886

upgpkg: haskell-tasty-quickcheck 0.9.2-1

rebuild with tasty-quickcheck,0.9.2

Modified:
  haskell-tasty-quickcheck/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-22 08:27:26 UTC (rev 284885)
+++ PKGBUILD	2018-01-22 08:27:47 UTC (rev 284886)
@@ -4,22 +4,22 @@
 
 _hkgname=tasty-quickcheck
 pkgname=haskell-tasty-quickcheck
-pkgver=0.9.1
-pkgrel=19
+pkgver=0.9.2
+pkgrel=1
 pkgdesc="QuickCheck support for the Tasty test framework."
 url="http://documentup.com/feuerbach/tasty"
 license=("MIT")
 arch=('x86_64')
-depends=('ghc-libs' "haskell-quickcheck" "haskell-random" "haskell-tagged" "haskell-tasty")
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-random' 'haskell-tagged' 'haskell-tasty')
+makedepends=('ghc' 'haskell-tasty-hunit' 'haskell-pcre-light')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('41977101c311708ce89dabbc7502b327f7a3e6b926a1469773bfee09309cb0187ec1fee01117a09995eb1ee84aab30b928475bdeb98d42c0fb25efe61fdd1211')
+sha512sums=('246854bfe91e08dc834bb912cd126fa58603763e6a1072c5ee239fd40c43d06d186ae07de7e2872b754df4b2344006f7ccc8347465dd01f89799cd82df5262e0')
 
 build() {
-    cd "${srcdir}/${_hkgname}-${pkgver}"
+    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
     runhaskell Setup register --gen-script
@@ -28,8 +28,13 @@
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test
+}
+
 package() {
-    cd "${srcdir}/${_hkgname}-${pkgver}"
+    cd $_hkgname-$pkgver
     
     install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
     install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"



More information about the arch-commits mailing list