From 5ab554e4f627ca40ba2425fb29641c8732a3c02b Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Tue, 2 Sep 2025 11:30:06 -0500 Subject: [PATCH] add csol - terminal solitaire games --- games-misc/csol/Manifest | 1 + games-misc/csol/csol-1.6.0.ebuild | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 games-misc/csol/Manifest create mode 100644 games-misc/csol/csol-1.6.0.ebuild diff --git a/games-misc/csol/Manifest b/games-misc/csol/Manifest new file mode 100644 index 0000000..92599ed --- /dev/null +++ b/games-misc/csol/Manifest @@ -0,0 +1 @@ +DIST v1.6.0.tar.gz 167611 BLAKE2B 0f798894333cc30d10b40b98c60e92dce5ecbe8c19f8db203a8abc38323ca8353155cf1106fe775f6e82e0e88b7291b6361744d8e5be66fdbdc0f428a9e83dfb SHA512 2bac4e373d84c585e8bdb4671e5a446d2a174f8bfa60eaa6a8fe0d1ff5074878f2f8d0907297dd1452e5e5b1e7bfd73ba672a7820a3d4664e9abd6e654f57107 diff --git a/games-misc/csol/csol-1.6.0.ebuild b/games-misc/csol/csol-1.6.0.ebuild new file mode 100644 index 0000000..088c2ef --- /dev/null +++ b/games-misc/csol/csol-1.6.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_MAKEFILE_GENERATOR=emake +inherit cmake + +DESCRIPTION="A small collection of solitaire/patience games to play in the terminal" +HOMEPAGE="https://nielssp.dk/csol" +SRC_URI="https://github.com/nielssp/csol/archive/refs/tags/v${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +DEPEND="sys-libs/ncurses" +RDEPEND="${DEPEND}" +BDEPEND="" + +CMAKE_IN_SOURCE_BUILD=1 + +src_configure() { + cmake_src_configure +} + +src_install() { + cmake_src_install +}