From 42a8cde945272bc10b412228d754493b176852d6 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 25 Jan 2010 10:48:20 +0000 Subject: [PATCH] omega: Initial import (verified compilation). --- omega/.footprint | 52 ++++++++++++++++++++++++++++++++++++++++++++++++ omega/.md5sum | 1 + omega/Pkgfile | 33 ++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+) create mode 100644 omega/.footprint create mode 100644 omega/.md5sum create mode 100644 omega/Pkgfile diff --git a/omega/.footprint b/omega/.footprint new file mode 100644 index 0000000..bdfb10e --- /dev/null +++ b/omega/.footprint @@ -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 index 0000000..6964765 --- /dev/null +++ b/omega/.md5sum @@ -0,0 +1 @@ +a7b3731f7169f69cc24276a29251d99f omega-0.90.1-src.tar.gz diff --git a/omega/Pkgfile b/omega/Pkgfile new file mode 100644 index 0000000..60493d4 --- /dev/null +++ b/omega/Pkgfile @@ -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 <