File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ TERMUX_PKG_HOMEPAGE=http://npush.sourceforge.net/
2+ TERMUX_PKG_DESCRIPTION=" Curses-based logic game similar to Sokoban and Boulder Dash"
3+ TERMUX_PKG_LICENSE=" GPL-2.0"
4+ TERMUX_PKG_MAINTAINER=" Dmitry Marakasov <amdmi3@amdmi3.ru>"
5+ TERMUX_PKG_VERSION=0.7
6+ TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/npush/npush/${TERMUX_PKG_VERSION} /npush-${TERMUX_PKG_VERSION} .tgz
7+ TERMUX_PKG_SHA256=f216d2b3279e8737784f77d4843c9e6f223fa131ce1ebddaf00ad802aba2bcd9
8+ TERMUX_PKG_DEPENDS=" ncurses"
9+ TERMUX_PKG_BUILD_IN_SRC=true
10+
11+ termux_step_post_get_source () {
12+ sed -i -e " s|\" levels|\" ${TERMUX_PREFIX} /share/npush/levels|" npush.cpp
13+ }
14+
15+ termux_step_make () {
16+ $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -lncurses -o npush npush.cpp
17+ }
18+
19+ termux_step_make_install () {
20+ install -Dm755 -t $TERMUX_PREFIX /bin/ npush
21+ install -Dm644 -t $TERMUX_PREFIX /share/npush/levels levels/*
22+ }
You can’t perform that action at this time.
0 commit comments