void-packages/srcpkgs/d2/template

15 lines
558 B
Bash

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