ninvaders: switch to maintained github repo, update to 0.1.2

This commit is contained in:
Henrik Grimler 2020-06-06 14:32:14 +02:00
parent 80522257ca
commit b7cb81bb92
2 changed files with 3 additions and 26 deletions

View File

@ -1,18 +0,0 @@
--- ../Makefile.orig 2019-08-11 08:02:35.611800199 +0200
+++ ./Makefile 2019-08-11 08:05:20.858330233 +0200
@@ -1,5 +1,5 @@
-CC=gcc
-CFLAGS=-O3 -Wall
+CC?=gcc
+CFLAGS?=-O3 -Wall
LIBS=-lncurses
CFILES=globals.c view.c aliens.c ufo.c player.c nInvaders.c
@@ -11,6 +11,6 @@
$(CC) $(LDFLAGS) -o$@ $(OFILES) $(LIBS)
.c.o:
- $(CC) -c -I. $(CFLAGS) $(OPTIONS) $<
+ $(CC) -c -I. $(CPPFLAGS) $(CFLAGS) $(OPTIONS) $<
clean:
rm -f nInvaders $(OFILES)

View File

@ -1,12 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://ninvaders.sourceforge.net
TERMUX_PKG_DESCRIPTION="Space Invaders clone based on ncurses for ASCII output"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=0.1.1
TERMUX_PKG_SRCURL=https://netix.dl.sourceforge.net/project/ninvaders/ninvaders/${TERMUX_PKG_VERSION}/ninvaders-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=bfbc5c378704d9cf5e7fed288dac88859149bee5ed0850175759d310b61fd30b
TERMUX_PKG_VERSION=0.1.2
TERMUX_PKG_SRCURL=https://github.com/sf-refugees/ninvaders/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=80fbdfd396efc3674c0a697e0d7c219647518cefd22e948d504bb3a677e58df3
TERMUX_PKG_DEPENDS="ncurses"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make_install() {
install -Dm700 nInvaders $TERMUX_PREFIX/bin/
}