void-packages/srcpkgs/cgo/template
Benjamín Albiñana 86cc3f60ff
New package: cgo-0.5.0
Closes: #11703 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-05-14 16:38:48 +02:00

21 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
}