# Template file for 'sysdig' pkgname=sysdig version=0.12.1 revision=1 build_style=cmake configure_args="-DSYSDIG_VERSION=${version} -DUSE_BUNDLED_DEPS=OFF -DUSE_BUNDLED_B64=ON -DUSE_BUNDLED_JQ=ON -DBUILD_DRIVER=OFF" makedepends="jsoncpp-devel libcurl-devel libressl-devel LuaJIT-devel ncurses-devel zlib-devel" depends="dkms" triggers="dkms" dkms_modules="sysdig ${version}" short_desc="Open source system-level exploration and troubleshooting tool" maintainer="Christian Neukirchen " license="GPL-2" homepage="http://www.sysdig.org/" distfiles="https://github.com/draios/${pkgname}/archive/${version}.tar.gz" checksum=7d4ab158ea8059b2340c4b4cc40c315d30b508cb7236d2f079d4458bc2959691 nocross=yes disable_parallel_build=yes only_for_archs="i686 x86_64" post_extract() { sed -i 's,"${DIR_ETC}/bash_completion.d",share/bash-completion/completions,g' scripts/CMakeLists.txt sed -i '1i#include ' userspace/libsinsp/mesos_collector.h } post_install() { rm -rf ${DESTDIR}/usr/share/zsh/vendor-completions }