23 lines
693 B
Bash
23 lines
693 B
Bash
# Template file for 'go-capnproto2'
|
|
pkgname=go-capnproto2
|
|
version=2.18.0
|
|
revision=4
|
|
build_style=go
|
|
go_import_path=zombiezen.com/go/capnproto2
|
|
go_package=zombiezen.com/go/capnproto2/capnpc-go
|
|
hostmakedepends="git"
|
|
depends="capnproto"
|
|
short_desc="Cap'n Proto library and code generator for Go"
|
|
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/capnproto/go-capnproto2"
|
|
distfiles="https://github.com/capnproto/go-capnproto2/archive/v${version}.tar.gz"
|
|
checksum=63d21290df86a0e482d4294a926f45d03a2cbb8e9274399f70bac763f07b8e92
|
|
broken="missing go.mod"
|
|
|
|
post_install() {
|
|
vmkdir usr/include/capnp/
|
|
vcopy std/go.capnp usr/include/capnp/
|
|
vlicense LICENSE
|
|
}
|