parent
ad5a6a3a1e
commit
5aa75ec9d3
|
@ -1,29 +1,27 @@
|
|||
# Template file for 'yggdrasil'
|
||||
pkgname=yggdrasil
|
||||
version=0.5.7
|
||||
revision=2
|
||||
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=035122cc840443a1ed9cb7f066fe5bd6d2ff879a7026be449c0a24436b04f4c8
|
||||
checksum=34845eff314d971e56c12186ef15ce52efdf78d787d17381ea4cefaf4b853df3
|
||||
|
||||
do_build() {
|
||||
PKGNAME=${pkgname} PKGVER=${version} ./build
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin yggdrasil
|
||||
post_install() {
|
||||
vsv yggdrasil
|
||||
}
|
||||
|
||||
yggdrasilctl_package() {
|
||||
short_desc="Administration utility for the yggdrasil node admin API"
|
||||
pkg_install() {
|
||||
vbin yggdrasilctl
|
||||
vmove /usr/bin/yggdrasilctl
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue