9978e00086
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template' | xargs -r sed -i '/^patch_args=/d'
24 lines
755 B
Bash
24 lines
755 B
Bash
# Template file for 'nomad'
|
|
pkgname=nomad
|
|
version=1.1.1
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/hashicorp/nomad"
|
|
go_build_tags="ui release"
|
|
_git_commit=a6fab0f1df962b9224adcf05c886c6ae59d52192
|
|
go_ldflags="-X ${go_import_path}/version.GitCommit=${_git_commit}"
|
|
hostmakedepends="git"
|
|
short_desc="Cluster scheduler designed to easily integrate into existing workflows"
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
license="MPL-2.0"
|
|
homepage="https://www.nomadproject.io/"
|
|
distfiles="https://github.com/hashicorp/nomad/archive/v${version}.tar.gz"
|
|
checksum=441d2f50a29568451cb16301a2208c9b744a480ded8c624e789983ee42ed3ea9
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) go_build_tags+=" nonvidia" ;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|