diff --git a/srcpkgs/cni-plugin-dnsname/template b/srcpkgs/cni-plugin-dnsname/template new file mode 100644 index 00000000000..7eb525c34b1 --- /dev/null +++ b/srcpkgs/cni-plugin-dnsname/template @@ -0,0 +1,24 @@ +# Template file for 'cni-plugin-dnsname' +pkgname=cni-plugin-dnsname +version=1.3.1 +revision=1 +wrksrc="dnsname-${version}" +build_style=go +go_import_path="github.com/containers/dnsname" +go_package="${go_import_path}/plugins/meta/dnsname" +depends="dnsmasq" +short_desc="Name resolution for containers" +maintainer="Cameron Nemo " +license="Apache-2.0" +homepage="https://github.com/containers/dnsname" +changelog="https://github.com/containers/dnsname/blob/main/RELEASE_NOTES.md" +distfiles="https://github.com/containers/dnsname/archive/v${version}.tar.gz" +checksum=a9319a1829e242b4769697650f7df63a635eda7369ba659618d49056b78bf3ce + +post_install() { + vmkdir usr/libexec/cni + mv "${DESTDIR}/usr/bin/dnsname" "${DESTDIR}/usr/libexec/cni/dnsname" + vdoc README.md + vdoc README_PODMAN.md + vsconf example/foobar.conflist +}