From: Victor Martinez Date: Tue, 26 Jan 2010 07:35:48 +0000 (+0000) Subject: graywood: Fixed maps and added run script to launch. Incomplete game.. X-Git-Url: http://gitweb/?a=commitdiff_plain;h=34243e071a3a5f79e96d63135d4b37f264f29f30;p=attic%2Fports%2Fgames-cross.git graywood: Fixed maps and added run script to launch. Incomplete game.. --- diff --git a/graywood/.footprint b/graywood/.footprint index 04584d0..a4421dc 100644 --- a/graywood/.footprint +++ b/graywood/.footprint @@ -1,3 +1,12 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/graywood +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/graywood/ +-rw-r--r-- root/root usr/share/graywood/armor.txt +-rw-r--r-- root/root usr/share/graywood/armor_info.txt +-rwxr-xr-x root/root usr/share/graywood/graywood +-rw-r--r-- root/root usr/share/graywood/monsters.txt +-rw-r--r-- root/root usr/share/graywood/monsters_info.txt +-rw-r--r-- root/root usr/share/graywood/weapons.txt +-rw-r--r-- root/root usr/share/graywood/weapons_info.txt diff --git a/graywood/Pkgfile b/graywood/Pkgfile index 5af4180..38941af 100644 --- a/graywood/Pkgfile +++ b/graywood/Pkgfile @@ -6,13 +6,26 @@ name=graywood version=v0.0.2 -release=1 +release=2 source=(http://dl.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar) build() { cd $SRC tar xvf $name-$version.tar cd $version/source/graywood + mv ../clearscreenfiles/nix/clearscreen_fcn.h . + sed -e 's|pause|read|g' -i * $CXX main.cpp -o graywood - install -D -m 0755 graywood $PKG/usr/bin/graywood + mkdir -p $PKG/usr/{share/graywood,bin} + install -D -m 0755 graywood $PKG/usr/share/graywood/graywood + mv *.txt $PKG/usr/share/graywood/ + cat > $PKG/usr/bin/graywood <