From 6148aeb73f4cf11070a7c425a47395b398faea5f Mon Sep 17 00:00:00 2001 From: Justin Bronder Date: Wed, 26 May 2021 11:04:45 -0400 Subject: [PATCH] New package: catatonit-0.1.5 --- srcpkgs/catatonit/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/catatonit/template diff --git a/srcpkgs/catatonit/template b/srcpkgs/catatonit/template new file mode 100644 index 000000000000..29cc233b7d51 --- /dev/null +++ b/srcpkgs/catatonit/template @@ -0,0 +1,26 @@ +# Template file for 'catatonit' +pkgname=catatonit +version=0.1.5 +revision=1 +build_style=gnu-configure +hostmakedepends="automake libtool" +short_desc="Container init that is so simple it's effectively brain-dead" +maintainer="Justin Bronder " +license="GPL-3.0-or-later" +homepage="https://github.com/openSUSE/catatonit" +distfiles="https://github.com/openSUSE/catatonit/releases/download/v${version}/catatonit.tar.xz" +checksum=4c45e2230235751731da3daabe130abce70b3ef37d0b1936cbc90a46b475cf08 + +pre_configure() { + autoreconf -fi +} + +do_install() { + vmkdir usr/libexec/catatonit + vinstall catatonit 0755 usr/libexec/catatonit + + # Following suit with Fedora/Ubuntu, podman-run will default to looking + # for catatonit here when passed the "--init" argument + vmkdir usr/libexec/podman + ln -sf ../catatonit/catatonit "${DESTDIR}/usr/libexec/podman" +}