CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
zracer: Fixed arch maintainer and release
authorVictor Martinez <pitillo@ono.com>
Wed, 29 Sep 2010 09:12:07 +0000 (09:12 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 29 Sep 2010 09:12:07 +0000 (09:12 +0000)
zracer/.footprint [new file with mode: 0644]
zracer/.md5sum [new file with mode: 0644]
zracer/Pkgfile [new file with mode: 0644]

diff --git a/zracer/.footprint b/zracer/.footprint
new file mode 100644 (file)
index 0000000..2b3ff42
--- /dev/null
@@ -0,0 +1,3 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/zracer
diff --git a/zracer/.md5sum b/zracer/.md5sum
new file mode 100644 (file)
index 0000000..2728412
--- /dev/null
@@ -0,0 +1 @@
+87e790ecaf5d6fdf27759779b8b5a7e7  zracer-1.0.tar.gz
diff --git a/zracer/Pkgfile b/zracer/Pkgfile
new file mode 100644 (file)
index 0000000..ad607f5
--- /dev/null
@@ -0,0 +1,18 @@
+# Description: Little cool racing console game. 
+# URL: http://lrem.net/pages/view/zracer
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: ncurses
+
+name=zracer
+version=1.0
+release=2
+source=(http://static.lrem.net/$name/$name-$version.tar.gz)
+
+build() {
+  cd $name-$version
+  sed -i "s|g++|$\(CXX\)|g" Makefile
+  sed -i -e '28a\
+        \#include <cstring>' zracer.cpp
+  make CXX="$CXX" CFLAGS="$CFLAGS" zracer 
+  install -D -m 0755 zracer $PKG/usr/bin/zracer
+}