diff --git a/srcpkgs/tini/template b/srcpkgs/tini/template new file mode 100644 index 00000000000..fb18b07ba3f --- /dev/null +++ b/srcpkgs/tini/template @@ -0,0 +1,17 @@ +# Template file for 'tini' +pkgname=tini +version=0.19.0 +revision=1 +build_style=cmake +short_desc="Tiny but valid init for containers" +maintainer="PWA COLLECTIVE " +license="MIT" +homepage="https://github.com/krallin/tini" +distfiles="https://github.com/krallin/tini/archive/refs/tags/v$version.tar.gz" +checksum=0fd35a7030052acd9f58948d1d900fe1e432ee37103c5561554408bdac6bbf0d +CFLAGS="-DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37" + +post_install() { + vlicense LICENSE + ln -s tini-static $DESTDIR/usr/bin/docker-init +}