void-packages/srcpkgs/go-capnproto2/template

22 lines
669 B
Bash
Raw Normal View History

2019-01-29 06:34:24 +00:00
# Template file for 'go-capnproto2'
pkgname=go-capnproto2
2019-05-17 19:38:37 +00:00
version=2.17.4
2019-01-29 06:34:24 +00:00
revision=1
build_style=go
2019-03-16 04:55:53 +00:00
go_import_path=zombiezen.com/go/capnproto2
go_package=zombiezen.com/go/capnproto2/capnpc-go
2019-01-29 06:34:24 +00:00
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"
2019-05-17 19:38:37 +00:00
checksum=aeef42131c027fabb8d80057ad47f8f821151533757d6ecc4e52e4bf5e77610d
2019-01-29 06:34:24 +00:00
post_install() {
vmkdir usr/include/capnp/
vcopy std/go.capnp usr/include/capnp/
vlicense LICENSE
}