void-packages/srcpkgs/nomad-driver-podman/template

18 lines
645 B
Bash

# Template file for 'nomad-driver-podman'
pkgname=nomad-driver-podman
version=0.5.1
revision=2
build_style=go
go_import_path=github.com/hashicorp/nomad-driver-podman
short_desc="Nomad task driver plugin for podman containers"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="MPL-2.0"
homepage="https://github.com/hashicorp/nomad-driver-podman"
distfiles="https://github.com/hashicorp/nomad-driver-podman/archive/refs/tags/v$version.tar.gz"
checksum=3465663dbe04f522886fca108e9cab3e1018c846d6a9f6946cb64537dd28dfbf
post_install() {
vmkdir usr/libexec/nomad
mv $DESTDIR/usr/bin/nomad-driver-podman $DESTDIR/usr/libexec/nomad/
}