mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
parent
ad5a6a3a1e
commit
5aa75ec9d3
1 changed files with 8 additions and 10 deletions
|
@ -1,29 +1,27 @@
|
||||||
# Template file for 'yggdrasil'
|
# Template file for 'yggdrasil'
|
||||||
pkgname=yggdrasil
|
pkgname=yggdrasil
|
||||||
version=0.5.7
|
version=0.5.8
|
||||||
revision=2
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/yggdrasil-network/yggdrasil-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"
|
short_desc="Experiment in scalable routing as an encrypted IPv6 overlay network"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="LGPL-3.0-only"
|
license="LGPL-3.0-only"
|
||||||
homepage="https://yggdrasil-network.github.io/"
|
homepage="https://yggdrasil-network.github.io/"
|
||||||
changelog="https://raw.githubusercontent.com/yggdrasil-network/yggdrasil-go/develop/CHANGELOG.md"
|
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"
|
distfiles="https://github.com/yggdrasil-network/yggdrasil-go/archive/v${version}.tar.gz"
|
||||||
checksum=035122cc840443a1ed9cb7f066fe5bd6d2ff879a7026be449c0a24436b04f4c8
|
checksum=34845eff314d971e56c12186ef15ce52efdf78d787d17381ea4cefaf4b853df3
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
PKGNAME=${pkgname} PKGVER=${version} ./build
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin yggdrasil
|
|
||||||
vsv yggdrasil
|
vsv yggdrasil
|
||||||
}
|
}
|
||||||
|
|
||||||
yggdrasilctl_package() {
|
yggdrasilctl_package() {
|
||||||
short_desc="Administration utility for the yggdrasil node admin API"
|
short_desc="Administration utility for the yggdrasil node admin API"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vbin yggdrasilctl
|
vmove /usr/bin/yggdrasilctl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue