mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
games-misc/cbonsai: add 1.4.2
Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST cbonsai-1.3.1.tar.bz2 21669 BLAKE2B 702d5836bfa78f08e24328ebd3f1fe7f4693d0dc84fadd7cba56b13a91696ad101c3ae41f60008377a216ca60018ec29c521dadcf4bc0a9e18c330ec35dcd59a SHA512 6222a1e080eddf68527d151bc510d7a9cdc91d703d7e4669e37b872a5da79ecd12f9b18e8139be763a688085f4a7256fdef76a092e03bebbdda00bd6912109c3
|
||||
DIST cbonsai-1.4.2.tar.bz2 22827 BLAKE2B 7796172d3f146d596e951e8db1e724e42139809cf142afc96d116176b05a103dab7bf1c99677e9a1ff7e27f9286f57a3ce8b30875a7f6e1e16669b8efa3dc5fc SHA512 47b9edffe3ca0a34e733d8fa1c61e96caacd4b18b303e5dc807f856a764bb47e0e55a45ddbd2bef2be8b1c3f2a0707e7ab521b8063c9b35186bea001bd4c11e0
|
||||
|
||||
27
games-misc/cbonsai/cbonsai-1.4.2.ebuild
Normal file
27
games-misc/cbonsai/cbonsai-1.4.2.ebuild
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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"
|
||||
|
||||
RDEPEND="sys-libs/ncurses"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
app-text/scdoc
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-respect-variables-1.4.2.patch" )
|
||||
|
||||
src_install() {
|
||||
PREFIX="${EPREFIX}/usr" DESTDIR="${D}" emake install
|
||||
dodoc README.md
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
--- a/Makefile 2025-06-20 03:28:16.000000000 +0100
|
||||
+++ b/Makefile 2026-03-29 14:36:43.324630218 +0100
|
||||
@@ -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)
|
||||
DATADIR = $(PREFIX)/share
|
||||
MANDIR = $(DATADIR)/man
|
||||
WITH_BASH = 1
|
||||
Reference in New Issue
Block a user