From 6d11ea5f69d561753a77854017e660a9deb8080d Mon Sep 17 00:00:00 2001 From: Imran Khan Date: Thu, 19 Mar 2020 18:15:37 +0600 Subject: [PATCH] New package: crun-0.15 Closes: #20212 [via git-merge-pr] --- srcpkgs/crun/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/crun/template diff --git a/srcpkgs/crun/template b/srcpkgs/crun/template new file mode 100644 index 00000000000..6622507a67f --- /dev/null +++ b/srcpkgs/crun/template @@ -0,0 +1,22 @@ +# Template file for 'crun' +pkgname=crun +version=0.15 +revision=1 +build_style=gnu-configure +configure_args="--disable-systemd" +hostmakedepends="pkg-config libtool python3 go-md2man" +makedepends="libcap-devel libseccomp-devel yajl-devel" +short_desc="Lightweight OCI runtime written in C" +maintainer="Imran Khan " +license="GPL-2.0-or-later, LGPL-2.1-or-later" +homepage="https://github.com/containers/crun" +distfiles="https://github.com/containers/crun/releases/download/${version}/crun-${version}.tar.gz" +checksum=5f88f6c6a951473406700fbf634e665dc75596a032b06bf9c91911cd999347a0 + +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + makedepends+=" argp-standalone" +fi + +post_install() { + rm -f ${DESTDIR}/usr/lib/*.a +}