diff options
author | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2021-07-15 19:12:00 +0200 |
---|---|---|
committer | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2021-07-15 19:12:25 +0200 |
commit | 22575c16be0a00285114b14a3efa368144675fae (patch) | |
tree | 60ab2b4948d91cfef29c123726225e66e43141eb /games-misc | |
parent | TODO.md: typo (diff) | |
download | guru-22575c16be0a00285114b14a3efa368144675fae.tar.gz guru-22575c16be0a00285114b14a3efa368144675fae.tar.bz2 guru-22575c16be0a00285114b14a3efa368144675fae.zip |
games-misc/cbonsai: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'games-misc')
-rw-r--r-- | games-misc/cbonsai/Manifest | 1 | ||||
-rw-r--r-- | games-misc/cbonsai/cbonsai-1.2.1.ebuild | 15 | ||||
-rw-r--r-- | games-misc/cbonsai/files/cbonsai-respect-variables.patch | 13 | ||||
-rw-r--r-- | games-misc/cbonsai/metadata.xml | 15 |
4 files changed, 44 insertions, 0 deletions
diff --git a/games-misc/cbonsai/Manifest b/games-misc/cbonsai/Manifest new file mode 100644 index 000000000..14ee1341c --- /dev/null +++ b/games-misc/cbonsai/Manifest @@ -0,0 +1 @@ +DIST cbonsai-1.2.1.tar.bz2 20897 BLAKE2B c69c7b0d64b30d10decf08df4bedd4e125450faf6cdf9e36d0c8fd202e67443901832a7e191cf1af3498988fd16a8e06dd54b71b8e2639bdd2e2583fc6724a91 SHA512 daf9d023687ddd8d337636365e599bd546c187cd99773eebcc830c89460558890ba8e6e895977e619b267894908480aea59c6cbbeafff06730743ac6ba42afa6 diff --git a/games-misc/cbonsai/cbonsai-1.2.1.ebuild b/games-misc/cbonsai/cbonsai-1.2.1.ebuild new file mode 100644 index 000000000..3b74405de --- /dev/null +++ b/games-misc/cbonsai/cbonsai-1.2.1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="grow bonsai trees in your terminal" +HOMEPAGE="https://gitlab.com/jallbrit/cbonsai" +SRC_URI="https://gitlab.com/jallbrit/cbonsai/-/archive/v${PV}/cbonsai-v${PV}.tar.bz2 -> ${P}.tar.bz2" +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +PATCHES=( "${FILESDIR}/${PN}-respect-variables.patch" ) diff --git a/games-misc/cbonsai/files/cbonsai-respect-variables.patch b/games-misc/cbonsai/files/cbonsai-respect-variables.patch new file mode 100644 index 000000000..3187e2847 --- /dev/null +++ b/games-misc/cbonsai/files/cbonsai-respect-variables.patch @@ -0,0 +1,13 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,9 +1,7 @@ + .POSIX: +-CC = cc + PKG_CONFIG ?= pkg-config + CFLAGS += -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-qual -pedantic $(shell $(PKG_CONFIG) --cflags ncursesw panelw) +-LDLIBS = $(shell $(PKG_CONFIG) --libs ncursesw panelw || echo "-lncursesw -ltinfo -lpanelw") +-PREFIX = /usr/local ++LDLIBS = $(shell $(PKG_CONFIG) --libs ncursesw panelw || echo "-lncursesw -ltinfo -lpanelw") ${LDFLAGS} + + cbonsai: cbonsai.c + diff --git a/games-misc/cbonsai/metadata.xml b/games-misc/cbonsai/metadata.xml new file mode 100644 index 000000000..5c0d6a88f --- /dev/null +++ b/games-misc/cbonsai/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>lssndrbarbieri@gmail.com</email> + <name>Alessandro Barbieri</name> + </maintainer> + <longdescription lang="en"> +cbonsai is a bonsai tree generator, written in C using ncurses. It intelligently creates, colors, and positions a bonsai tree, and is entirely configurable via CLI options-- see usage. There are 2 modes of operation: static (see finished bonsai tree), and live (see growth step-by-step). + </longdescription> + <upstream> + <bugs-to>https://gitlab.com/jallbrit/cbonsai/-/issues</bugs-to> + <remote-id type="gitlab">jallbrit/cbonsai</remote-id> + </upstream> +</pkgmetadata> |