21 lines
603 B
Bash
21 lines
603 B
Bash
# Template file for 'wireguard-go'
|
|
pkgname=wireguard-go
|
|
version=0.0.20180524
|
|
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=1d539f6c51dd33098a536af0285ef03c561db0ff343f23a75405207fcf48ec3e
|
|
|
|
pre_build() {
|
|
rm donotuseon_linux.go
|
|
cd ${GOSRCPATH}
|
|
dep ensure -vendor-only -v
|
|
}
|