summaryrefslogtreecommitdiff
path: root/homebrew/tig
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/tig
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/tig')
-rw-r--r--homebrew/tig/.beer44
-rw-r--r--homebrew/tig/.make.sh-auto8
-rw-r--r--homebrew/tig/_metadata/description1
-rw-r--r--homebrew/tig/_metadata/homepage1
-rw-r--r--homebrew/tig/_metadata/name1
-rw-r--r--homebrew/tig/_metadata/version1
-rwxr-xr-xhomebrew/tig/download.sh1
7 files changed, 57 insertions, 0 deletions
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