diff --git a/srcpkgs/nomad-driver-podman/template b/srcpkgs/nomad-driver-podman/template new file mode 100644 index 00000000000..2dd96d5be7a --- /dev/null +++ b/srcpkgs/nomad-driver-podman/template @@ -0,0 +1,17 @@ +# Template file for 'nomad-driver-podman' +pkgname=nomad-driver-podman +version=0.5.1 +revision=1 +build_style=go +go_import_path=github.com/hashicorp/nomad-driver-podman +short_desc="Nomad task driver plugin for podman containers" +maintainer="Michael Aldridge " +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/ +}