28 lines
986 B
Bash
28 lines
986 B
Bash
# Template file for 'yggdrasil'
|
|
pkgname=yggdrasil
|
|
version=0.5.8
|
|
revision=1
|
|
build_style=go
|
|
go_import_path=github.com/yggdrasil-network/yggdrasil-go
|
|
go_package="$go_import_path/cmd/yggdrasil $go_import_path/cmd/yggdrasilctl"
|
|
go_ldflags="-X ${go_import_path}/src/version.buildName=$pkgname -X
|
|
${go_import_path}/src/version.buildVersion=$version"
|
|
short_desc="Experiment in scalable routing as an encrypted IPv6 overlay network"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-3.0-only"
|
|
homepage="https://yggdrasil-network.github.io/"
|
|
changelog="https://raw.githubusercontent.com/yggdrasil-network/yggdrasil-go/develop/CHANGELOG.md"
|
|
distfiles="https://github.com/yggdrasil-network/yggdrasil-go/archive/v${version}.tar.gz"
|
|
checksum=34845eff314d971e56c12186ef15ce52efdf78d787d17381ea4cefaf4b853df3
|
|
|
|
post_install() {
|
|
vsv yggdrasil
|
|
}
|
|
|
|
yggdrasilctl_package() {
|
|
short_desc="Administration utility for the yggdrasil node admin API"
|
|
pkg_install() {
|
|
vmove /usr/bin/yggdrasilctl
|
|
}
|
|
}
|