From bda6b4e1d773ac4eb8f2326247b21953287e050d Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Tue, 29 Jan 2019 01:34:24 -0500 Subject: [PATCH] New package: go-capnproto2-2.17.2 --- srcpkgs/go-capnproto2/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/go-capnproto2/template diff --git a/srcpkgs/go-capnproto2/template b/srcpkgs/go-capnproto2/template new file mode 100644 index 00000000000..f22f9b0de8a --- /dev/null +++ b/srcpkgs/go-capnproto2/template @@ -0,0 +1,21 @@ +# Template file for 'go-capnproto2' +pkgname=go-capnproto2 +version=2.17.2 +revision=1 +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 " +license="MIT" +homepage="https://github.com/capnproto/go-capnproto2" +distfiles="https://github.com/capnproto/go-capnproto2/archive/v${version}.tar.gz" +checksum=c1d79a8842ce3186f445ea1da54a0f74db57bfa0c333e6d265a631fffa2586dc + +post_install() { + vmkdir usr/include/capnp/ + vcopy std/go.capnp usr/include/capnp/ + vlicense LICENSE +}