CRUX-ARM : Home

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

diff --git a/nnn/.footprint b/nnn/.footprint
new file mode 100644 (file)
index 0000000..868184b
--- /dev/null
@@ -0,0 +1,28 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/nnn
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man6/
+-rw-r--r--     root/root       usr/man/man6/nnn.6.gz
+drwxr-xr-x     root/root       usr/share/
+drwxr-xr-x     root/root       usr/share/nnn/
+drwxr-xr-x     root/root       usr/share/nnn/bin/
+-rwxr-xr-x     root/root       usr/share/nnn/bin/nnn
+drwxr-xr-x     root/root       usr/share/nnn/levels/
+-rw-r--r--     root/root       usr/share/nnn/levels/blank.lvl
+-rw-r--r--     root/root       usr/share/nnn/levels/episode1.set
+drwxr-xr-x     root/root       usr/share/nnn/levels/episode1/
+-rw-r--r--     root/root       usr/share/nnn/levels/episode1/.001.lvl.swp
+-rwxr-xr-x     root/root       usr/share/nnn/levels/episode1/001.lvl
+-rw-r--r--     root/root       usr/share/nnn/levels/episode1/002.lvl
+-rw-r--r--     root/root       usr/share/nnn/levels/episode1/003.lvl
+-rw-r--r--     root/root       usr/share/nnn/levels/episode1/004.lvl
+drwxr-xr-x     root/root       usr/share/nnn/levels/standalone/
+-rw-r--r--     root/root       usr/share/nnn/levels/standalone/verystupid.lvl
+-rw-r--r--     root/root       usr/share/nnn/levels/tutorial.set
+drwxr-xr-x     root/root       usr/share/nnn/levels/tutorial/
+-rw-r--r--     root/root       usr/share/nnn/levels/tutorial/001.lvl
+-rw-r--r--     root/root       usr/share/nnn/levels/tutorial/002.lvl
+-rw-r--r--     root/root       usr/share/nnn/levels/tutorial/003.lvl
+-rw-r--r--     root/root       usr/share/nnn/levels/tutorial/004.lvl
+-rw-r--r--     root/root       usr/share/nnn/levels/tutorial/005.lvl
diff --git a/nnn/.md5sum b/nnn/.md5sum
new file mode 100644 (file)
index 0000000..900e4e4
--- /dev/null
@@ -0,0 +1 @@
+fe7c1c54c6126f36a9d56a8dbc95842e  NNN-1.0.beta.tar.bz2
diff --git a/nnn/Pkgfile b/nnn/Pkgfile
new file mode 100644 (file)
index 0000000..64d4e01
--- /dev/null
@@ -0,0 +1,29 @@
+# Description: Bad Boulder-Dash clone for unix terminals in ASCII 
+# URL: http://sourceforge.net/projects/nnn/
+# 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=nnn
+version=1.0beta
+release=4
+source=(http://dl.sourceforge.net/project/$name/$name-sources/$version/NNN-1.0.beta.tar.bz2)
+
+build() {
+  cd NNN-1.0/src
+  make CC="$CC" CFLAGS="$CFLAGS"
+  install -D -m 0644 ../doc_en/man/nnn.6 $PKG/usr/man/man6/nnn.6
+  mkdir -p $PKG/usr/{share/nnn/bin,bin}
+  install -D -m 0755 nnn $PKG/usr/share/nnn/bin/nnn
+  mv ../levels $PKG/usr/share/nnn/levels
+  cat > $PKG/usr/bin/nnn <<EOF
+#!/bin/bash
+
+cd /usr/share/nnn/bin
+./nnn \$@
+
+# End of file
+EOF
+  chmod +x $PKG/usr/bin/nnn
+
+}