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

Felix Yan felixonmars at archlinux.org
Mon Jun 14 15:51:45 UTC 2021


    Date: Monday, June 14, 2021 @ 15:51:44
  Author: felixonmars
Revision: 963458

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

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-14 15:47:41 UTC (rev 963457)
+++ PKGBUILD	2021-06-14 15:51:44 UTC (rev 963458)
@@ -2,8 +2,8 @@
 
 _hkgname=hls-stylish-haskell-plugin
 pkgname=haskell-hls-stylish-haskell-plugin
-pkgver=1.0.0.0
-pkgrel=22
+pkgver=1.0.0.1
+pkgrel=1
 pkgdesc="Integration with the Stylish Haskell code formatter"
 url="https://hackage.haskell.org/package/hls-stylish-haskell-plugin"
 license=("Apache")
@@ -12,18 +12,16 @@
          'stylish-haskell')
 makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
 checkdepends=('git')
-# https://github.com/haskell/haskell-language-server/issues/1818
-#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")
-sha256sums=('1d2bab12dcf6ef5f14fe4159e2d1f76b00de75fa9af51846b7ad861fa1daadb2')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+sha256sums=('8e6220b0c06a3dca0cd55a342684a970a4318b49eb396f37d0c0d56402dc6fb6')
 
 prepare() {
-  cd haskell-language-server-1.1.0/plugins/$_hkgname
+  cd $_hkgname-$pkgver
   gen-setup
 }
 
 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 \
@@ -39,12 +37,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