CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
npush: Initial import (verified compilation).
authorVictor Martinez <pitillo@ono.com>
Mon, 25 Jan 2010 10:53:00 +0000 (10:53 +0000)
committerVictor Martinez <pitillo@ono.com>
Mon, 25 Jan 2010 10:53:00 +0000 (10:53 +0000)
npush/.footprint [new file with mode: 0644]
npush/.md5sum [new file with mode: 0644]
npush/Pkgfile [new file with mode: 0644]

diff --git a/npush/.footprint b/npush/.footprint
new file mode 100644 (file)
index 0000000..2b89253
--- /dev/null
@@ -0,0 +1,25 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/npush
+drwxr-xr-x     root/root       usr/share/
+drwxr-xr-x     root/root       usr/share/npush/
+drwxr-xr-x     root/root       usr/share/npush/levels/
+-rw-r--r--     root/root       usr/share/npush/levels/Level 01 - Gold and Exit
+-rw-r--r--     root/root       usr/share/npush/levels/Level 02 - Rocks
+-rw-r--r--     root/root       usr/share/npush/levels/Level 03 - Dynamite
+-rw-r--r--     root/root       usr/share/npush/levels/Level 04 - The Show Starts
+-rw-r--r--     root/root       usr/share/npush/levels/Level 05 - The Triangle
+-rw-r--r--     root/root       usr/share/npush/levels/Level 06 - Moving along
+-rw-r--r--     root/root       usr/share/npush/levels/Level 07 - Duality
+-rw-r--r--     root/root       usr/share/npush/levels/Level 08 - Traps and Treasure
+-rw-r--r--     root/root       usr/share/npush/levels/Level 09 - Cooperation
+-rw-r--r--     root/root       usr/share/npush/levels/Level 10 - Golden Age
+-rw-r--r--     root/root       usr/share/npush/levels/Level 11 - Story of a lifetime
+-rw-r--r--     root/root       usr/share/npush/levels/Level 12 - In the Mine
+-rw-r--r--     root/root       usr/share/npush/levels/Level 13 - Warm-up
+-rw-r--r--     root/root       usr/share/npush/levels/Level 14 - To and fro
+-rw-r--r--     root/root       usr/share/npush/levels/Level 15 - Little by little
+-rw-r--r--     root/root       usr/share/npush/levels/Level 16 - The break in
+-rw-r--r--     root/root       usr/share/npush/levels/Level 17 - The great escape
+-rw-r--r--     root/root       usr/share/npush/levels/Level 18 - The one road
+-rwxr-xr-x     root/root       usr/share/npush/npush
diff --git a/npush/.md5sum b/npush/.md5sum
new file mode 100644 (file)
index 0000000..7d1ea29
--- /dev/null
@@ -0,0 +1 @@
+e39180c6ec228ebafb91ff2921f7bdcc  npush-0.7.tgz
diff --git a/npush/Pkgfile b/npush/Pkgfile
new file mode 100644 (file)
index 0000000..c3d4d05
--- /dev/null
@@ -0,0 +1,26 @@
+# Description: nPush is a logic game similar to Sokoban and Boulder Dash
+# URL: http://npush.sourceforge.net/
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on:
+
+name=npush
+version=0.7
+release=4
+source=(http://dl.sourceforge.net/project/$name/$name/$version/$name-$version.tgz)
+
+build() {
+  cd $name-$version
+  make CC="$CXX $CFLAGS"
+  install -D -m 0755 $name $PKG/usr/share/$name/$name
+  mv levels $PKG/usr/share/$name
+  install -d $PKG/usr/bin
+  cat > $PKG/usr/bin/$name <<EOF
+#!/bin/bash
+
+cd /usr/share/npush
+./npush \$@
+
+# End of file
+EOF
+  chmod +x $PKG/usr/bin/$name
+}