void-packages/srcpkgs/cgo/template

22 lines
502 B
Bash

# 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 <benalb@gmail.com>"
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
}