[arch-commits] Commit in haskell-hls-class-plugin/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon May 10 23:03:07 UTC 2021


    Date: Monday, May 10, 2021 @ 23:03:07
  Author: felixonmars
Revision: 929662

upgpkg: haskell-hls-class-plugin 1.0.0.1-1

Modified:
  haskell-hls-class-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-10 22:57:17 UTC (rev 929661)
+++ PKGBUILD	2021-05-10 23:03:07 UTC (rev 929662)
@@ -2,8 +2,8 @@
 
 _hkgname=hls-class-plugin
 pkgname=haskell-hls-class-plugin
-pkgver=1.0.0.0
-pkgrel=35
+pkgver=1.0.0.1
+pkgrel=1
 pkgdesc="Class/instance management plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server#readme"
 license=("Apache")
@@ -11,14 +11,14 @@
 depends=('ghc-libs' 'haskell-aeson' 'haskell-ghc' 'haskell-ghc-exactprint' 'haskell-ghcide'
          'haskell-hls-plugin-api' 'haskell-lens' 'haskell-lsp' 'haskell-shake'
          'haskell-unordered-containers')
-makedepends=('ghc' 'uusi')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-test' 'haskell-lsp-types')
+checkdepends=('git')
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha256sums=('c058077a64014ee596625f29d36bb12193cb88b42b855dabc165e8953dd77980')
+sha512sums=('71bf816f4b4bf7e817544c8eebb87457557532490f77cbe7213170e3934112134bdf458ad58eec689e20a71ba2ad5cccbdcde5443aa4e3469e933ee40b8ee862')
 
 prepare() {
   cd $_hkgname-$pkgver
   gen-setup
-  uusi -u ghcide $_hkgname.cabal
 }
 
 build() {
@@ -37,6 +37,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