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

Felix Yan felixonmars at archlinux.org
Mon Aug 26 07:18:04 UTC 2019


    Date: Monday, August 26, 2019 @ 07:18:03
  Author: felixonmars
Revision: 501831

upgpkg: haskell-call-stack 0.2.0-1

rebuild with call-stack 0.2.0

Modified:
  haskell-call-stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-26 07:17:29 UTC (rev 501830)
+++ PKGBUILD	2019-08-26 07:18:03 UTC (rev 501831)
@@ -3,22 +3,22 @@
 
 _hkgname=call-stack
 pkgname=haskell-call-stack
-pkgver=0.1.0
-pkgrel=12
+pkgver=0.2.0
+pkgrel=1
 pkgdesc="Use GHC call-stacks in a backward compatible way"
 url="https://github.com/sol/call-stack"
 license=("MIT")
 arch=('x86_64')
 depends=('ghc-libs')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-nanospec')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('4b8fa206041976948411c7e7babd481b01297c289be72f56dcd56b090bec3b0d3c0a6ef4ce17bb5bd879f08b8059f36ebea664c3c263283457a519e5ce20a0f6')
+sha512sums=('c22862ca24906b07e258690da8c7f6fadf87f4216023cbe847e8ddf0c87548e5c353b5cd82c4748c6ef09604556884caafe5fdc1996be9d000d2db29aaef1537')
 
 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
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -27,6 +27,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