void-packages/srcpkgs/wireguard-go/template
2018-10-03 22:42:58 +01:00

20 lines
603 B
Bash

# Template file for 'wireguard-go'
pkgname=wireguard-go
version=0.0.20181001
revision=1
build_style=go
go_import_path="git.zx2c4.com/wireguard-go"
hostmakedepends="git dep"
depends="wireguard-tools"
short_desc="Implementation of WireGuard in Go"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-2"
homepage="https://git.zx2c4.com/wireguard-go/about/"
distfiles="https://git.zx2c4.com/wireguard-go/snapshot/wireguard-go-${version}.tar.xz"
checksum=46242e6ddc5f8e2cffbb5cf9634399e1d0f7b9d9634d09c35b65ac8f4bbe222a
pre_build() {
rm donotuseon_linux.go
cd ${GOSRCPATH}
dep ensure -vendor-only -v
}