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

Felix Yan felixonmars at archlinux.org
Wed Feb 14 07:11:01 UTC 2018


    Date: Wednesday, February 14, 2018 @ 07:10:59
  Author: felixonmars
Revision: 294057

upgpkg: haskell-concise 0.1.0.1-1

rebuild with concise,0.1.0.1

Modified:
  haskell-concise/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-14 07:08:18 UTC (rev 294056)
+++ PKGBUILD	2018-02-14 07:10:59 UTC (rev 294057)
@@ -4,22 +4,23 @@
 
 _hkgname=concise
 pkgname=haskell-concise
-pkgver=0.1.0.0
-pkgrel=18
+pkgver=0.1.0.1
+pkgrel=1
 pkgdesc="Utilities for Control.Lens.Cons"
 url="https://github.com/frasertweedal/hs-concise"
 license=("custom:BSD3")
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-lens' 'haskell-text')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 'haskell-tasty'
+             'haskell-tasty-quickcheck')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('4b414dce93f6c16625289d39aeae85fcb3f8192059ac3b5f12c786d0330b41282fcdf897687daec0f42d1a93fd056608bc9589b00709df3ba9a9d1b75d048121')
+sha512sums=('1ca4aacd319107b6a0031e7d0604563a6be68c4c1a2df6e31e7336e8c29f8efd94d5517e31e9a986b9607eb059f74e33b1d8a307d5a23194daf5e88350d560d7')
 
 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 +29,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