From 12335518ab39608d58370c85ff9f5384ad2aa5f7 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Sat, 20 Apr 2019 20:49:46 -0500 Subject: Ported in the homebrew-marauder for a hacky update/import system. TODO: Maybe add a license & fix up messy code. --- homebrew/tig/.beer | 44 ++++++++++++++++++++++++++++++++++++++ homebrew/tig/.make.sh-auto | 8 +++++++ homebrew/tig/_metadata/description | 1 + homebrew/tig/_metadata/homepage | 1 + homebrew/tig/_metadata/name | 1 + homebrew/tig/_metadata/version | 1 + homebrew/tig/download.sh | 1 + 7 files changed, 57 insertions(+) create mode 100644 homebrew/tig/.beer create mode 100644 homebrew/tig/.make.sh-auto create mode 100644 homebrew/tig/_metadata/description create mode 100644 homebrew/tig/_metadata/homepage create mode 100644 homebrew/tig/_metadata/name create mode 100644 homebrew/tig/_metadata/version create mode 100755 homebrew/tig/download.sh (limited to 'homebrew/tig') diff --git a/homebrew/tig/.beer b/homebrew/tig/.beer new file mode 100644 index 000000000..e9ec2c463 --- /dev/null +++ b/homebrew/tig/.beer @@ -0,0 +1,44 @@ +{ + "name": "Tig", + "description": "Text interface for Git repositories", + "url": "https://github.com/jonas/tig/releases/download/tig-2.4.1/tig-2.4.1.tar.gz", + "mirror": null, + "homepage": "https://jonas.github.io/tig/", + "depends": [ + { + "depend": "asciidoc", + "build-depend": true + }, + { + "depend": "autoconf", + "build-depend": true + }, + { + "depend": "automake", + "build-depend": true + }, + { + "depend": "xmlto", + "build-depend": true + }, + { + "depend": "readline", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "system \"./autogen.sh\" if build.head?", + "system \"./configure\", \"--prefix=#{prefix}\", \"--sysconfdir=#{etc}\"", + "system \"make\"", + "system \"make\", \"install\", \"sysconfdir=#{pkgshare}/examples\"", + "system \"make\", \"install-doc-man\"", + "bash_completion.install \"contrib/tig-completion.bash\"", + "zsh_completion.install \"contrib/tig-completion.zsh\" => \"_tig\"", + "cp \"#{bash_completion}/tig-completion.bash\", zsh_completion" + ], + "version": "2.4.1", + "file": "tig.rb" +} \ No newline at end of file diff --git a/homebrew/tig/.make.sh-auto b/homebrew/tig/.make.sh-auto new file mode 100644 index 000000000..f31b49a53 --- /dev/null +++ b/homebrew/tig/.make.sh-auto @@ -0,0 +1,8 @@ +pkg:setup +pkg:configure +make +make DESTDIR=${PKG_DEST} install sysconfdir=${PKG_TAPF}/share/examples +make DESTDIR=${PKG_DEST} install-doc-man +bash_completion.install "contrib/tig-completion.bash" +zsh_completion.install "contrib/tig-completion.zsh" => "_tig" +cp "#{bash_completion}/tig-completion.bash", zsh_completion diff --git a/homebrew/tig/_metadata/description b/homebrew/tig/_metadata/description new file mode 100644 index 000000000..bba1ca6eb --- /dev/null +++ b/homebrew/tig/_metadata/description @@ -0,0 +1 @@ +Text interface for Git repositories diff --git a/homebrew/tig/_metadata/homepage b/homebrew/tig/_metadata/homepage new file mode 100644 index 000000000..6498bea41 --- /dev/null +++ b/homebrew/tig/_metadata/homepage @@ -0,0 +1 @@ +https://jonas.github.io/tig/ diff --git a/homebrew/tig/_metadata/name b/homebrew/tig/_metadata/name new file mode 100644 index 000000000..dc3bb1666 --- /dev/null +++ b/homebrew/tig/_metadata/name @@ -0,0 +1 @@ +Tig diff --git a/homebrew/tig/_metadata/version b/homebrew/tig/_metadata/version new file mode 100644 index 000000000..005119baa --- /dev/null +++ b/homebrew/tig/_metadata/version @@ -0,0 +1 @@ +2.4.1 diff --git a/homebrew/tig/download.sh b/homebrew/tig/download.sh new file mode 100755 index 000000000..478363859 --- /dev/null +++ b/homebrew/tig/download.sh @@ -0,0 +1 @@ +wget https://github.com/jonas/tig/releases/download/tig-2.4.1/tig-2.4.1.tar.gz \ No newline at end of file -- cgit v1.2.3