# Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Interception tools plugin switching CAPS and ESC" MY_P="${PN##interception-}-v${PV}" HOMEPAGE="https://gitlab.com/interception/linux/plugins/caps2esc" SRC_URI="https://gitlab.com/interception/linux/plugins/caps2esc/-/archive/v0.3.2/caps2esc-v0.3.2.tar.bz2" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" DEPEND="" RDEPEND="${DEPEND}" BDEPEND="" S="${WORKDIR}/${MY_P}" src_prepare() { default cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -S ${S} -B ${S} }