diff --git a/srcpkgs/cgo/template b/srcpkgs/cgo/template new file mode 100644 index 00000000000..15537991e1f --- /dev/null +++ b/srcpkgs/cgo/template @@ -0,0 +1,21 @@ +# Template file for 'cgo' +pkgname=cgo +version=0.5.0 +revision=1 +build_style=gnu-makefile +short_desc="Terminal based gopher client" +maintainer="Benjamín Albiñana " +license="ISC" +homepage="https://github.com/kieselsteini/cgo" +distfiles="https://github.com/kieselsteini/cgo/archive/v${version}.tar.gz" +checksum=89e4038d27dae0e009c7d313fc1945c5ee52006685b517ec0970b198e098ad54 + +pre_build() { + sed -i '/CC = cc/d' Makefile +} + +post_install() { + vconf cgorc + vlicense LICENSE + vman cgo.1 +}