Files
gentoo-zh/dev-cpp/nameof/nameof-0.11.0.ebuild
T
2026-10-28 09:00:36 +00:00

26 lines
605 B
Bash

# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Nameof operator for modern C++"
HOMEPAGE="https://github.com/Neargye/nameof"
SRC_URI="https://github.com/Neargye/nameof/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
DOCS=(
README.md doc/limitations.md doc/reference.md
)
src_install() {
cmake_src_install
# Gentoo tracks the license through LICENSE=, not an installed copy
rm "${ED}"/usr/share/nameof/LICENSE || die
rmdir "${ED}"/usr/share/nameof || die
}