mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
26 lines
551 B
Bash
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
|
|
}
|