CRUX-ARM : Home

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

diff --git a/omega/.footprint b/omega/.footprint
new file mode 100644 (file)
index 0000000..bdfb10e
--- /dev/null
@@ -0,0 +1,52 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/omega
+drwxr-xr-x     root/root       usr/share/
+drwxr-xr-x     root/root       usr/share/omega/
+drwxr-xr-x     root/root       usr/share/omega/lib/
+-rw-r--r--     root/root       usr/share/omega/lib/abyss.dat
+-rw-r--r--     root/root       usr/share/omega/lib/abyss.txt
+-rw-r--r--     root/root       usr/share/omega/lib/arena.dat
+-rw-r--r--     root/root       usr/share/omega/lib/circle.dat
+-rw-r--r--     root/root       usr/share/omega/lib/city.dat
+-rw-r--r--     root/root       usr/share/omega/lib/country.dat
+-rw-r--r--     root/root       usr/share/omega/lib/court.dat
+-rw-r--r--     root/root       usr/share/omega/lib/dlair.dat
+-rw-r--r--     root/root       usr/share/omega/lib/help1.txt
+-rw-r--r--     root/root       usr/share/omega/lib/help10.txt
+-rw-r--r--     root/root       usr/share/omega/lib/help11.txt
+-rw-r--r--     root/root       usr/share/omega/lib/help12.txt
+-rw-r--r--     root/root       usr/share/omega/lib/help13.txt
+-rw-r--r--     root/root       usr/share/omega/lib/help2.txt
+-rw-r--r--     root/root       usr/share/omega/lib/help3.txt
+-rw-r--r--     root/root       usr/share/omega/lib/help4.txt
+-rw-r--r--     root/root       usr/share/omega/lib/help5.txt
+-rw-r--r--     root/root       usr/share/omega/lib/help6.txt
+-rw-r--r--     root/root       usr/share/omega/lib/help7.txt
+-rw-r--r--     root/root       usr/share/omega/lib/help8.txt
+-rw-r--r--     root/root       usr/share/omega/lib/help9.txt
+-rw-r--r--     root/root       usr/share/omega/lib/home1.dat
+-rw-r--r--     root/root       usr/share/omega/lib/home2.dat
+-rw-r--r--     root/root       usr/share/omega/lib/home3.dat
+-rw-r--r--     root/root       usr/share/omega/lib/license.txt
+-rw-r--r--     root/root       usr/share/omega/lib/maze1.dat
+-rw-r--r--     root/root       usr/share/omega/lib/maze2.dat
+-rw-r--r--     root/root       usr/share/omega/lib/maze3.dat
+-rw-r--r--     root/root       usr/share/omega/lib/maze4.dat
+-rw-r--r--     root/root       usr/share/omega/lib/misle.dat
+-rw-r--r--     root/root       usr/share/omega/lib/motd.txt
+-rw-rw-rw-     root/root       usr/share/omega/lib/omega.hi
+-rw-rw-rw-     root/root       usr/share/omega/lib/omega.log
+-rw-r--r--     root/root       usr/share/omega/lib/scroll1.txt
+-rw-r--r--     root/root       usr/share/omega/lib/scroll2.txt
+-rw-r--r--     root/root       usr/share/omega/lib/scroll3.txt
+-rw-r--r--     root/root       usr/share/omega/lib/scroll4.txt
+-rw-r--r--     root/root       usr/share/omega/lib/speak.dat
+-rw-r--r--     root/root       usr/share/omega/lib/temple.dat
+-rw-r--r--     root/root       usr/share/omega/lib/village1.dat
+-rw-r--r--     root/root       usr/share/omega/lib/village2.dat
+-rw-r--r--     root/root       usr/share/omega/lib/village3.dat
+-rw-r--r--     root/root       usr/share/omega/lib/village4.dat
+-rw-r--r--     root/root       usr/share/omega/lib/village5.dat
+-rw-r--r--     root/root       usr/share/omega/lib/village6.dat
+-rwx--x--x     root/root       usr/share/omega/omega
diff --git a/omega/.md5sum b/omega/.md5sum
new file mode 100644 (file)
index 0000000..6964765
--- /dev/null
@@ -0,0 +1 @@
+a7b3731f7169f69cc24276a29251d99f  omega-0.90.1-src.tar.gz
diff --git a/omega/Pkgfile b/omega/Pkgfile
new file mode 100644 (file)
index 0000000..60493d4
--- /dev/null
@@ -0,0 +1,33 @@
+# Description: The classic Roguelike game 
+# URL: http://www.alcyone.com/max/projects/omega/ 
+# Maintainer: Victor Martinez, pitillo at ono dot com
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: ncurses
+
+name=omega
+version=0.90.1
+release=1
+source=(http://www.alcyone.com/binaries/$name/$name-$version-src.tar.gz)
+
+build() {
+  cd $name
+
+  sed -i -e '34 d' -e '1731 d' -e '1732 d' -e '1733 d' scr.c
+  sed -i 's|/usr/local/games/omegalib/|/usr/share/omega/lib/|g' defs.h
+  make CC="$CC" CFLAGS="$CFLAGS -DBSD"
+
+  mkdir -p $PKG/usr/{bin,share/omega/lib/}
+  install -D -m0711 omega $PKG/usr/share/omega/omega
+  mv lib/{license.txt,help*.txt,motd.txt,abyss.txt,scroll[1234].txt,*.dat,omega.hi,omega.log} $PKG/usr/share/omega/lib/
+  chmod 0666 $PKG/usr/share/omega/lib/{omega.hi,omega.log}
+
+  cat > $PKG/usr/bin/omega <<EOF
+#!/bin/bash
+
+cd /usr/share/omega
+./omega \$@
+
+# End of file
+EOF
+  chmod +x $PKG/usr/bin/omega
+}