From: Victor Martinez Date: Wed, 29 Sep 2010 09:05:24 +0000 (+0000) Subject: pacman: initial import (verified compilation). X-Git-Url: http://gitweb/?a=commitdiff_plain;h=bbeace988fd0e0dd97ce34a8797b1089b86cee37;p=attic%2Fports%2Fgames-cross.git pacman: initial import (verified compilation). --- diff --git a/pacman/.footprint b/pacman/.footprint new file mode 100644 index 0000000..02ae997 --- /dev/null +++ b/pacman/.footprint @@ -0,0 +1,19 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/pacman +-rwxr-xr-x root/root usr/bin/pacmanedit +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/pacman/ +drwxr-xr-x root/root usr/share/pacman/levels/ +-rw-r--r-- root/root usr/share/pacman/levels/README +-rw-r--r-- root/root usr/share/pacman/levels/level01.dat +-rw-r--r-- root/root usr/share/pacman/levels/level02.dat +-rw-r--r-- root/root usr/share/pacman/levels/level03.dat +-rw-r--r-- root/root usr/share/pacman/levels/level04.dat +-rw-r--r-- root/root usr/share/pacman/levels/level05.dat +-rw-r--r-- root/root usr/share/pacman/levels/level06.dat +-rw-r--r-- root/root usr/share/pacman/levels/level07.dat +-rw-r--r-- root/root usr/share/pacman/levels/level08.dat +-rw-r--r-- root/root usr/share/pacman/levels/level09.dat +-rw-r--r-- root/root usr/share/pacman/levels/template.dat +-rwxr-xr-x root/root usr/share/pacman/pacman diff --git a/pacman/.md5sum b/pacman/.md5sum new file mode 100644 index 0000000..1808475 --- /dev/null +++ b/pacman/.md5sum @@ -0,0 +1 @@ +1568960898ad9cb66c77412b85cd7d86 pacman-1.2.tar.gz diff --git a/pacman/Pkgfile b/pacman/Pkgfile new file mode 100644 index 0000000..8b4a822 --- /dev/null +++ b/pacman/Pkgfile @@ -0,0 +1,29 @@ +# Description: Pacman game for console +# URL: http://doctormike.googlepages.com/pacman.html +# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Depends on: ncurses + +name=pacman +version=1.2 +release=2 +source=(http://doctormike.googlepages.com/$name-$version.tar.gz) + +build() { + cd $name-$version + sed -i "s|/usr/local/share/pacman/Levels/|/usr/share/pacman/levels/|g" pacman.h + $CC -lncurses pacman.c -o pacman + $CC -lncurses pacmanedit.c -o pacmanedit + install -D -m 0755 $name $PKG/usr/share/$name/$name + install -D -m 0755 pacmanedit $PKG/usr/bin/pacmanedit + mv Levels $PKG/usr/share/$name/levels + install -d $PKG/usr/bin + cat > $PKG/usr/bin/$name <