Package Details: crystalline-bin 0.12.2-2

Git Clone URL: https://aur.archlinux.org/crystalline-bin.git (read-only, click to copy)
Package Base: crystalline-bin
Description: A Language Server Protocol implementation for Crystal.
Upstream URL: https://github.com/elbywan/crystalline/
Licenses: MIT
Conflicts: crystalline
Provides: crystalline
Submitter: jokke
Maintainer: soya_daizu
Last Packager: soya_daizu
Votes: 1
Popularity: 0.000038
First Submitted: 2021-05-11 17:40 (UTC)
Last Updated: 2024-02-04 15:17 (UTC)

Dependencies (0)

Required by (0)

Sources (2)

Latest Comments

tskaar commented on 2024-02-05 01:47 (UTC)

Worked like a charm, thanks!

soya_daizu commented on 2024-02-04 15:21 (UTC)

@tskaar I just updated the file as you suggested, hope this would fix the problem!

tskaar commented on 2024-02-04 14:52 (UTC) (edited on 2024-02-04 14:52 (UTC) by tskaar)

Could you make the source files unique, AUR helpers (such as Paru in my case) struggles when the source name stays the same for each update. It assumes that the source is already downloaded, and then the hash-sum mismatches

e.g. something like this would resolve the issue:

diff --git a/PKGBUILD b/PKGBUILD
index ffd9e08..23e8531 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ arch=("x86_64")
 url="https://github.com/elbywan/crystalline/"
 license=("MIT")
 source=(
-  "$_pkgname.gz::https://github.com/elbywan/crystalline/releases/download/v${pkgver}/crystalline_x86_64-unknown-linux-musl.gz"
+  "${_pkgname}-${pkgver}.gz::https://github.com/elbywan/crystalline/releases/download/v${pkgver}/crystalline_x86_64-unknown-linux-musl.gz"
   "LICENSE::https://raw.githubusercontent.com/elbywan/crystalline/master/LICENSE"
 )
 noextract=(LICENSE)
@@ -20,7 +20,7 @@ conflicts=(crystalline)

 package() {
   cd "$srcdir"
-  install -D -m 0755 crystalline ${pkgdir}/usr/bin/crystalline
+  install -D -m 0755 crystalline-${pkgver} ${pkgdir}/usr/bin/crystalline
   install -D -m 0644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }

speedorama commented on 2023-07-18 00:27 (UTC) (edited on 2023-07-18 00:39 (UTC) by speedorama)

Crystal 1.9.1 has been released in the extra repository, so now is the time to update the package. I used this PKGBUILD for the new version:

_pkgname=crystalline
pkgname=crystalline-bin
pkgver=0.10.0
pkgrel=1
pkgdesc="A Language Server Protocol implementation for Crystal."
arch=("x86_64")
url="https://github.com/elbywan/crystalline/"
license=("MIT")
source=(
  "$_pkgname.gz::https://github.com/elbywan/crystalline/releases/download/v${pkgver}/crystalline_x86_64-unknown-linux-musl.gz"
  "LICENSE::https://raw.githubusercontent.com/elbywan/crystalline/master/LICENSE"
)
noextract=(LICENSE)

provides=(crystalline)
conflicts=(crystalline)

package() {
  cd "$srcdir"
  install -D -m 0755 crystalline ${pkgdir}/usr/bin/crystalline
  install -D -m 0644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}

sha512sums=('b96d4eb1bf0dbdd74dcb8c58cbe6e97fad7896a751e1cca670ce405aadea216ae9c9196bec56de0f7b4e197e443b54fa41b1402849a6f9ca8dc2361270a534a0'
            '81cab25a58a3e23f1548e7fcf11934cf6146af6a407292b4d043458da24803fe4c489f1f2a69d033623557eeaa2908efb26bf4750908e271b13e0406bc4203c7')

soya_daizu commented on 2023-07-14 10:31 (UTC)

The package will be updated once the crystal 1.9.0 lands on the arch repo.