Files
guru/dev-libs/hyprlang/hyprlang-0.3.2.ebuild
Julien Roy 74022b26df dev-libs/hyprlang: add 0.3.2
Signed-off-by: Julien Roy <julien@jroy.ca>
2024-02-17 16:03:48 -05:00

26 lines
551 B
Bash

# 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
}