# Description: an implementation of a new name-independent routing scheme # and functions as an end-to-end encrypted IPv6 network # URL: https://yggdrasil-network.github.io/ # Maintainer: Shokara Kou, shokara at kalli dot st # Depends on: go name=yggdrasil version=0.4.2 release=1 source=(https://github.com/yggdrasil-network/yggdrasil-go/archive/refs/tags/v$version.tar.gz) build() { cd $name-go-$version # this way go module deps don't clog $HOME export GOPATH=/tmp/go export GOPROXY=direct ./build install -Dm755 {yggdrasil,yggdrasilctl} -t $PKG/usr/bin install -Dm755 $PKGMK_SOURCE_DIR/yggdrasil.rc -t $PKG/etc/rc.d mv $PKG/etc/rc.d/yggdrasil.rc $PKG/etc/rc.d/yggdrasil }