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

Felix Yan felixonmars at archlinux.org
Mon Jun 14 16:20:12 UTC 2021


    Date: Monday, June 14, 2021 @ 16:20:12
  Author: felixonmars
Revision: 963470

upgpkg: haskell-hls-brittany-plugin 1.0.0.1-28

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-14 16:15:46 UTC (rev 963469)
+++ PKGBUILD	2021-06-14 16:20:12 UTC (rev 963470)
@@ -3,7 +3,7 @@
 _hkgname=hls-brittany-plugin
 pkgname=haskell-hls-brittany-plugin
 pkgver=1.0.0.1
-pkgrel=27
+pkgrel=28
 pkgdesc="Integration with the Brittany code formatter"
 url="https://haskellwingman.dev"
 license=("Apache")
@@ -12,17 +12,17 @@
          'haskell-lens' 'haskell-lsp-types')
 makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
 checkdepends=('git')
-#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-source=("https://github.com/haskell/haskell-language-server/archive/1.1.0/haskell-language-server-1.1.0.tar.gz")
-sha512sums=('05f724ec6209a4c30e260b8e9f945c5bc58be6b98458ea11ba3b297fa74fecbec37dc292d9aeda2d6dd5a8f24c4125f6d20afbb35eeec6335c9ea7138ed89e52')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+sha512sums=('d74039f04e07810ead5a25466f43df4c11d96d120df597faecc9ac8bce7652b1a139e3aad69198529c14420fe687a55a0048f1bef4d0e6ed2b39a3dd77b7a082')
 
 prepare() {
-  cd haskell-language-server-1.1.0/plugins/$_hkgname
+  cd $_hkgname-$pkgver
   gen-setup
+  uusi -u ghcide $_hkgname.cabal
 }
 
 build() {
-  cd haskell-language-server-1.1.0/plugins/$_hkgname
+  cd $_hkgname-$pkgver
 
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
     --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
@@ -38,12 +38,12 @@
 }
 
 check() {
-  cd haskell-language-server-1.1.0/plugins/$_hkgname
+  cd $_hkgname-$pkgver
   runhaskell Setup test --show-details=direct
 }
 
 package() {
-  cd haskell-language-server-1.1.0/plugins/$_hkgname
+  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