void-packages/srcpkgs/d2/template

16 lines
610 B
Bash

# Template file for 'd2'
pkgname=d2
version=0.6.8
revision=1
build_style=go
go_import_path="oss.terrastruct.com/d2"
go_ldflags="-X ${go_import_path}/lib/version.Version=${version}"
short_desc="Modern diagram scripting language that turns text to diagrams"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="MPL-2.0"
homepage="https://d2lang.com/"
changelog="https://d2lang.com/releases/intro/"
distfiles="https://github.com/terrastruct/d2/archive/refs/tags/v${version}.tar.gz"
checksum=7b18f3f597a913912843fcd6eb52b926e343a2784b2f1009fce9e196fbf9ca03
make_check=no # tests require playwright + chromium