Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions srcpkgs/expert/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Template file for 'expert'
pkgname=expert
version=0.1.4
revision=1
build_style=fetch
archs="x86_64 aarch64"
short_desc="Official Elixir Language Server Protocol implementation"
maintainer="velrest+void-packages@gmail.com"
license="Apache-2.0"
homepage="https://expert-lsp.org/"

case "$XBPS_TARGET_MACHINE" in
x86_64)
distfiles="https://github.com/expert-lsp/expert/releases/download/v${version}/expert_linux_amd64"
checksum="3c80e8b4b1428d6e87fba29056fd6ac7c52ea9edc2344f2c4388a318d131d361"
_bin="expert_linux_amd64"
;;
aarch64)
distfiles="https://github.com/expert-lsp/expert/releases/download/v${version}/expert_linux_arm64"
checksum="128f0eb2b477892fe1cc0567e996f8674ef2d36809541952a2bf1375c9d178c4"
_bin="expert_linux_arm64"
;;
esac

do_check() {
./${_bin} --version
}

do_install() {
vbin ${_bin} expert
}