Addpkg(main):Cbonsai
This commit is contained in:
parent
7137f6dea1
commit
e01ea0496f
|
@ -0,0 +1,9 @@
|
|||
TERMUX_PKG_HOMEPAGE=https://gitlab.com/jallbrit/cbonsai
|
||||
TERMUX_PKG_DESCRIPTION="Grow bonsai trees in your terminal"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.3.1
|
||||
TERMUX_PKG_SRCURL=https://gitlab.com/jallbrit/cbonsai/-/archive/v${TERMUX_PKG_VERSION}/cbonsai-v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=62aa7e0eaf3098b7a6a2787146bd2531437df6ad0e604b0f9176128797efd8f9
|
||||
TERMUX_PKG_DEPENDS="ncurses, ncurses-ui-libs, ncurses-utils"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
|
@ -0,0 +1,14 @@
|
|||
diff -Naur cbonsai-v1.3.1/Makefile cbonsai-v1.3.1.mod/Makefile
|
||||
--- cbonsai-v1.3.1/Makefile 2021-08-15 05:04:52.000000000 +0800
|
||||
+++ cbonsai-v1.3.1.mod/Makefile 2022-10-10 18:52:40.996402685 +0800
|
||||
@@ -1,9 +1,8 @@
|
||||
.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
|
||||
+PREFIX = @TERMUX_PREFIX@
|
||||
MANDIR = $(PREFIX)/share/man
|
||||
|
||||
cbonsai: cbonsai.c
|
Loading…
Reference in New Issue