void-packages/srcpkgs/d2/template

15 lines
558 B
Bash

# Template file for 'd2'
pkgname=d2
version=0.6.4
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=42a941c36dab75cc3ffa4dc29f50af89be5f76d252be1bca3d812271f63e30c7