void-packages/srcpkgs/obfs4proxy/template

22 lines
691 B
Bash

# Template file for 'obfs4proxy'
pkgname=obfs4proxy
version=0.0.13
revision=1
_pkgname=obfs4-obfs4proxy
wrksrc="${_pkgname}-${version}"
build_style=go
go_import_path=gitlab.com/yawning/obfs4.git
go_package="${go_import_path}/obfs4proxy"
short_desc="Pluggable transport proxy for Tor, implementing obfs4"
maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
license="BSD-2-Clause"
homepage="https://gitlab.com/yawning/obfs4"
distfiles="https://gitlab.com/yawning/obfs4/-/archive/obfs4proxy-${version}/${_pkgname}-${version}.tar.gz"
checksum=ddd9291cb7c41326f076f622118816f09148e1aac79ec440d46436e802918e84
post_install() {
vman doc/obfs4proxy.1
vdoc doc/obfs4-spec.txt
vlicense LICENSE
}