commit: 0803e8242231e94e5ea0b470009f172d8af8c3eb Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> AuthorDate: Sat Jan 6 19:51:56 2024 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Sat Jan 6 19:54:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0803e824
dev-libs/hyprlang: fix pkgconf generated file Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> dev-libs/hyprlang/hyprlang-0.2.1-r1.ebuild | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/dev-libs/hyprlang/hyprlang-0.2.1-r1.ebuild b/dev-libs/hyprlang/hyprlang-0.2.1-r1.ebuild new file mode 100644 index 0000000000..e72d17b6f5 --- /dev/null +++ b/dev-libs/hyprlang/hyprlang-0.2.1-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Official implementation library for the hypr config language" +HOMEPAGE="https://github.com/hyprwm/hyprlang" +SRC_URI="https://github.com/hyprwm/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +BUILD_DIR="${S}/build" + +src_prepare() { + default + + sed "s/\<lib\>/$(get_libdir)/" -i CMakeLists.txt hyprlang.pc.in + cmake_src_prepare +}
