void-packages/srcpkgs/d2/template

15 lines
558 B
Bash

# Template file for 'd2'
pkgname=d2
version=0.6.1
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=c76e822755a64e2a6902d1f75a17bcda779c46cb36edc751b3eaa8d6f168b243