CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pacman: initial import (verified compilation).
authorVictor Martinez <pitillo@ono.com>
Wed, 29 Sep 2010 09:05:24 +0000 (09:05 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 29 Sep 2010 09:05:24 +0000 (09:05 +0000)
pacman/.footprint [new file with mode: 0644]
pacman/.md5sum [new file with mode: 0644]
pacman/Pkgfile [new file with mode: 0644]

diff --git a/pacman/.footprint b/pacman/.footprint
new file mode 100644 (file)
index 0000000..02ae997
--- /dev/null
@@ -0,0 +1,19 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/pacman
+-rwxr-xr-x     root/root       usr/bin/pacmanedit
+drwxr-xr-x     root/root       usr/share/
+drwxr-xr-x     root/root       usr/share/pacman/
+drwxr-xr-x     root/root       usr/share/pacman/levels/
+-rw-r--r--     root/root       usr/share/pacman/levels/README
+-rw-r--r--     root/root       usr/share/pacman/levels/level01.dat
+-rw-r--r--     root/root       usr/share/pacman/levels/level02.dat
+-rw-r--r--     root/root       usr/share/pacman/levels/level03.dat
+-rw-r--r--     root/root       usr/share/pacman/levels/level04.dat
+-rw-r--r--     root/root       usr/share/pacman/levels/level05.dat
+-rw-r--r--     root/root       usr/share/pacman/levels/level06.dat
+-rw-r--r--     root/root       usr/share/pacman/levels/level07.dat
+-rw-r--r--     root/root       usr/share/pacman/levels/level08.dat
+-rw-r--r--     root/root       usr/share/pacman/levels/level09.dat
+-rw-r--r--     root/root       usr/share/pacman/levels/template.dat
+-rwxr-xr-x     root/root       usr/share/pacman/pacman
diff --git a/pacman/.md5sum b/pacman/.md5sum
new file mode 100644 (file)
index 0000000..1808475
--- /dev/null
@@ -0,0 +1 @@
+1568960898ad9cb66c77412b85cd7d86  pacman-1.2.tar.gz
diff --git a/pacman/Pkgfile b/pacman/Pkgfile
new file mode 100644 (file)
index 0000000..8b4a822
--- /dev/null
@@ -0,0 +1,29 @@
+# Description: Pacman game for console
+# URL: http://doctormike.googlepages.com/pacman.html 
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: ncurses
+
+name=pacman
+version=1.2
+release=2
+source=(http://doctormike.googlepages.com/$name-$version.tar.gz)
+
+build() {
+  cd $name-$version
+  sed -i "s|/usr/local/share/pacman/Levels/|/usr/share/pacman/levels/|g" pacman.h
+  $CC -lncurses pacman.c     -o pacman
+  $CC -lncurses pacmanedit.c -o pacmanedit
+  install -D -m 0755 $name $PKG/usr/share/$name/$name
+  install -D -m 0755 pacmanedit $PKG/usr/bin/pacmanedit
+  mv Levels $PKG/usr/share/$name/levels
+  install -d $PKG/usr/bin
+  cat > $PKG/usr/bin/$name <<EOF
+#!/bin/bash
+
+cd /usr/share/pacman
+./pacman
+
+# End of file
+EOF
+  chmod +x $PKG/usr/bin/$name
+}