summaryrefslogtreecommitdiff
path: root/homebrew/wumpus
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/wumpus
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/wumpus')
-rw-r--r--homebrew/wumpus/.beer26
-rw-r--r--homebrew/wumpus/.make.sh-auto3
-rw-r--r--homebrew/wumpus/_metadata/description1
-rw-r--r--homebrew/wumpus/_metadata/homepage1
-rw-r--r--homebrew/wumpus/_metadata/name1
-rw-r--r--homebrew/wumpus/_metadata/version1
-rwxr-xr-xhomebrew/wumpus/download.sh1
-rwxr-xr-xhomebrew/wumpus/patches.sh2
8 files changed, 36 insertions, 0 deletions
diff --git a/homebrew/wumpus/.beer b/homebrew/wumpus/.beer
new file mode 100644
index 000000000..f77a0e094
--- /dev/null
+++ b/homebrew/wumpus/.beer
@@ -0,0 +1,26 @@
+{
+ "name": "Wumpus",
+ "description": "Exact clone of the ancient BASIC Hunt the Wumpus game",
+ "url": "http://www.catb.org/~esr/wumpus/wumpus-1.6.tar.gz",
+ "mirror": null,
+ "homepage": "http://www.catb.org/~esr/wumpus/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://gitlab.com/esr/wumpus/commit/ea272d4786a55dbaa493d016324b7a05b4f165b9.diff",
+ "strip": "1"
+ },
+ {
+ "url": "https://gitlab.com/esr/wumpus/commit/99022db86e54c3338d6a670f219a0845fd531530.diff",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "system \"make\"",
+ "system \"make\", \"prefix=#{prefix}\", \"install\""
+ ],
+ "version": "1.6",
+ "file": "wumpus.rb"
+} \ No newline at end of file
diff --git a/homebrew/wumpus/.make.sh-auto b/homebrew/wumpus/.make.sh-auto
new file mode 100644
index 000000000..77aad4b7b
--- /dev/null
+++ b/homebrew/wumpus/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+make
+make prefix=${PKG_TAPF} DESTDIR=${PKG_DEST} install
diff --git a/homebrew/wumpus/_metadata/description b/homebrew/wumpus/_metadata/description
new file mode 100644
index 000000000..a96236b3d
--- /dev/null
+++ b/homebrew/wumpus/_metadata/description
@@ -0,0 +1 @@
+Exact clone of the ancient BASIC Hunt the Wumpus game
diff --git a/homebrew/wumpus/_metadata/homepage b/homebrew/wumpus/_metadata/homepage
new file mode 100644
index 000000000..9048421f2
--- /dev/null
+++ b/homebrew/wumpus/_metadata/homepage
@@ -0,0 +1 @@
+http://www.catb.org/~esr/wumpus/
diff --git a/homebrew/wumpus/_metadata/name b/homebrew/wumpus/_metadata/name
new file mode 100644
index 000000000..48e1e16ee
--- /dev/null
+++ b/homebrew/wumpus/_metadata/name
@@ -0,0 +1 @@
+Wumpus
diff --git a/homebrew/wumpus/_metadata/version b/homebrew/wumpus/_metadata/version
new file mode 100644
index 000000000..810ee4e91
--- /dev/null
+++ b/homebrew/wumpus/_metadata/version
@@ -0,0 +1 @@
+1.6
diff --git a/homebrew/wumpus/download.sh b/homebrew/wumpus/download.sh
new file mode 100755
index 000000000..08ac38b40
--- /dev/null
+++ b/homebrew/wumpus/download.sh
@@ -0,0 +1 @@
+wget http://www.catb.org/~esr/wumpus/wumpus-1.6.tar.gz \ No newline at end of file
diff --git a/homebrew/wumpus/patches.sh b/homebrew/wumpus/patches.sh
new file mode 100755
index 000000000..e63a8158a
--- /dev/null
+++ b/homebrew/wumpus/patches.sh
@@ -0,0 +1,2 @@
+wget https://gitlab.com/esr/wumpus/commit/ea272d4786a55dbaa493d016324b7a05b4f165b9.diff
+wget https://gitlab.com/esr/wumpus/commit/99022db86e54c3338d6a670f219a0845fd531530.diff