void-packages/srcpkgs/taplo/template

23 lines
749 B
Bash

# Template file for 'taplo'
pkgname=taplo
version=0.8.0
revision=1
build_wrksrc="crates/taplo-cli"
build_style=cargo
# no-default-features: allows selecting custom feature set
# lsp: builds TOML language server
# native-tls: Enables linking against system SSL instead of rustls/ring
configure_args="--no-default-features --features lsp,native-tls"
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="TOML toolkit written in Rust"
maintainer="cinerea0 <cinerea0@protonmail.com>"
license="MIT"
homepage="https://taplo.tamasfe.dev/"
distfiles="https://github.com/tamasfe/taplo/archive/refs/tags/${version}.tar.gz"
checksum=079fab82f48e4f71379f0d2e249b7bd402af8ddf84ea16b65ba2742811a8d951
post_install() {
vlicense ../../LICENSE.md
}