summaryrefslogtreecommitdiff
path: root/homebrew/npush
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/npush')
-rw-r--r--homebrew/npush/.beer21
-rw-r--r--homebrew/npush/.make.sh-auto7
-rw-r--r--homebrew/npush/_metadata/description1
-rw-r--r--homebrew/npush/_metadata/homepage1
-rw-r--r--homebrew/npush/_metadata/name1
-rw-r--r--homebrew/npush/_metadata/version1
-rwxr-xr-xhomebrew/npush/download.sh1
7 files changed, 33 insertions, 0 deletions
diff --git a/homebrew/npush/.beer b/homebrew/npush/.beer
new file mode 100644
index 000000000..bfd3c44de
--- /dev/null
+++ b/homebrew/npush/.beer
@@ -0,0 +1,21 @@
+{
+ "name": "Npush",
+ "description": "Logic game simliar to Sokoban and Boulder Dash",
+ "url": "https://downloads.sourceforge.net/project/npush/npush/0.7/npush-0.7.tgz",
+ "mirror": null,
+ "homepage": "https://npush.sourceforge.io/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\"",
+ "pkgshare.install [\"npush\", \"levels\"]",
+ "(bin/\"npush\").write <<~EOS",
+ "#!/bin/sh",
+ "cd \"#{pkgshare}\" && exec ./npush $@",
+ "EOS"
+ ],
+ "version": "0.7",
+ "file": "npush.rb"
+} \ No newline at end of file
diff --git a/homebrew/npush/.make.sh-auto b/homebrew/npush/.make.sh-auto
new file mode 100644
index 000000000..918ebf4a5
--- /dev/null
+++ b/homebrew/npush/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+make
+pkgshare.install ["npush", "levels"]
+(bin/"npush").write <<~EOS
+#!/bin/sh
+cd "#{pkgshare}" && exec ./npush $@
+EOS
diff --git a/homebrew/npush/_metadata/description b/homebrew/npush/_metadata/description
new file mode 100644
index 000000000..ff9089480
--- /dev/null
+++ b/homebrew/npush/_metadata/description
@@ -0,0 +1 @@
+Logic game simliar to Sokoban and Boulder Dash
diff --git a/homebrew/npush/_metadata/homepage b/homebrew/npush/_metadata/homepage
new file mode 100644
index 000000000..312143bf5
--- /dev/null
+++ b/homebrew/npush/_metadata/homepage
@@ -0,0 +1 @@
+https://npush.sourceforge.io/
diff --git a/homebrew/npush/_metadata/name b/homebrew/npush/_metadata/name
new file mode 100644
index 000000000..d61eab532
--- /dev/null
+++ b/homebrew/npush/_metadata/name
@@ -0,0 +1 @@
+Npush
diff --git a/homebrew/npush/_metadata/version b/homebrew/npush/_metadata/version
new file mode 100644
index 000000000..eb49d7c7f
--- /dev/null
+++ b/homebrew/npush/_metadata/version
@@ -0,0 +1 @@
+0.7
diff --git a/homebrew/npush/download.sh b/homebrew/npush/download.sh
new file mode 100755
index 000000000..ba51015a6
--- /dev/null
+++ b/homebrew/npush/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/npush/npush/0.7/npush-0.7.tgz \ No newline at end of file