void-packages/srcpkgs/wireguard-go/template
2018-05-31 19:03:56 +02:00

20 lines
603 B
Bash

# Template file for 'wireguard-go'
pkgname=wireguard-go
version=0.0.20180531
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=1cb6add9139fc3bce39ed45b327bc0f13472b685e060691c58a30142ed4e26d2
pre_build() {
rm donotuseon_linux.go
cd ${GOSRCPATH}
dep ensure -vendor-only -v
}