diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/unnethack | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (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/unnethack')
-rw-r--r-- | homebrew/unnethack/.beer | 28 | ||||
-rw-r--r-- | homebrew/unnethack/.make.sh-auto | 7 | ||||
-rw-r--r-- | homebrew/unnethack/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/unnethack/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/unnethack/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/unnethack/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/unnethack/download.sh | 1 |
7 files changed, 40 insertions, 0 deletions
diff --git a/homebrew/unnethack/.beer b/homebrew/unnethack/.beer new file mode 100644 index 000000000..ac2cc6175 --- /dev/null +++ b/homebrew/unnethack/.beer @@ -0,0 +1,28 @@ +{ + "name": "Unnethack", + "description": "Fork of Nethack", + "url": "https://downloads.sourceforge.net/project/unnethack/unnethack/5.2.0/unnethack-5.2.0.tar.gz", + "mirror": null, + "homepage": "https://sourceforge.net/projects/unnethack/", + "depends": [], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "version_specific_directory = \"#{var}/unnethack/#{version}\"", + "args = [", + "\"--prefix=#{prefix}\",", + "\"--with-owner=#{`id -un`}\",", + "\"--with-group=admin\",", + "\"--enable-xlogfile=#{var}/unnethack/xlogfile\",", + "\"--with-bonesdir=#{version_specific_directory}/bones\",", + "\"--with-savesdir=#{version_specific_directory}/saves\",", + "\"--enable-wizmode=#{`id -un`}\",", + "]", + "system \"./configure\", *args", + "ENV.deparallelize ", + "system \"make\", \"install\", \"CHGRP=#\"" + ], + "version": "5.2.0", + "file": "unnethack.rb" +}
\ No newline at end of file diff --git a/homebrew/unnethack/.make.sh-auto b/homebrew/unnethack/.make.sh-auto new file mode 100644 index 000000000..f64e4f267 --- /dev/null +++ b/homebrew/unnethack/.make.sh-auto @@ -0,0 +1,7 @@ +pkg:setup +version_specific_directory = "#{var}/unnethack/#{version}" +args = [ +"--prefix=#{prefix}", "--with-owner=#{`id -un`}", "--with-group=admin", "--enable-xlogfile=#{var}/unnethack/xlogfile", "--with-bonesdir=#{version_specific_directory}/bones", "--with-savesdir=#{version_specific_directory}/saves", "--enable-wizmode=#{`id -un`}", ] +pkg:configure *args +ENV.deparallelize +make DESTDIR=${PKG_DEST} install CHGRP=# diff --git a/homebrew/unnethack/_metadata/description b/homebrew/unnethack/_metadata/description new file mode 100644 index 000000000..4aac1a282 --- /dev/null +++ b/homebrew/unnethack/_metadata/description @@ -0,0 +1 @@ +Fork of Nethack diff --git a/homebrew/unnethack/_metadata/homepage b/homebrew/unnethack/_metadata/homepage new file mode 100644 index 000000000..60fb30b37 --- /dev/null +++ b/homebrew/unnethack/_metadata/homepage @@ -0,0 +1 @@ +https://sourceforge.net/projects/unnethack/ diff --git a/homebrew/unnethack/_metadata/name b/homebrew/unnethack/_metadata/name new file mode 100644 index 000000000..646f30504 --- /dev/null +++ b/homebrew/unnethack/_metadata/name @@ -0,0 +1 @@ +Unnethack diff --git a/homebrew/unnethack/_metadata/version b/homebrew/unnethack/_metadata/version new file mode 100644 index 000000000..91ff57278 --- /dev/null +++ b/homebrew/unnethack/_metadata/version @@ -0,0 +1 @@ +5.2.0 diff --git a/homebrew/unnethack/download.sh b/homebrew/unnethack/download.sh new file mode 100755 index 000000000..cbd620c5b --- /dev/null +++ b/homebrew/unnethack/download.sh @@ -0,0 +1 @@ +wget https://downloads.sourceforge.net/project/unnethack/unnethack/5.2.0/unnethack-5.2.0.tar.gz
\ No newline at end of file |