void-packages/srcpkgs/cgo/template

22 lines
502 B
Bash

# Template file for 'cgo'
pkgname=cgo
version=0.6.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=25de0af911769f0b5a2b4234b281a140827e4b9355586b2b62410f087e37f677
pre_build() {
sed -i '/CC = cc/d' Makefile
}
post_install() {
vconf cgorc
vlicense LICENSE
vman cgo.1
}