From dff4609c3c099b04955f7762a84cd89ddc170893 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 21 Dec 2009 14:53:06 +0000 Subject: [PATCH] ascii-invaders: initial import (verified compilation) --- ascii-invaders/.footprint | 3 +++ ascii-invaders/.md5sum | 1 + ascii-invaders/Pkgfile | 18 ++++++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 ascii-invaders/.footprint create mode 100644 ascii-invaders/.md5sum create mode 100644 ascii-invaders/Pkgfile diff --git a/ascii-invaders/.footprint b/ascii-invaders/.footprint new file mode 100644 index 0000000..36104ac --- /dev/null +++ b/ascii-invaders/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/ascii-invaders diff --git a/ascii-invaders/.md5sum b/ascii-invaders/.md5sum new file mode 100644 index 0000000..bcb945a --- /dev/null +++ b/ascii-invaders/.md5sum @@ -0,0 +1 @@ +fbb3f99a1b198bf4222d26a55665482e invaders0.1b.tgz diff --git a/ascii-invaders/Pkgfile b/ascii-invaders/Pkgfile new file mode 100644 index 0000000..4c9d0e2 --- /dev/null +++ b/ascii-invaders/Pkgfile @@ -0,0 +1,18 @@ +# Description: Ascii-Invaders is a clone of Space Invaders for text-terminals using the curses library. +# URL: http://ip9.org/munro/invaders/ +# Packager: Jose V Beneyto, sepen at crux dot nu +# Maintainer: Jose V Beneyto, sepen at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Depends on: ncurses + +name=ascii-invaders +version=0.1b +release=1 +source=(http://ip9.org/munro/invaders/invaders$version.tgz) + +build() { + cd invaders + $CC $CFLAGS -Wall -c -o invaders.o invaders.c + $CC $CFLAGS -Wall -lncurses invaders.o -o $name + install -D -m 0755 $name $PKG/usr/bin/$name +} -- 2.26.2