summaryrefslogtreecommitdiff
path: root/homebrew/gnutypist
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/gnutypist
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/gnutypist')
-rw-r--r--homebrew/gnutypist/.beer31
-rw-r--r--homebrew/gnutypist/.make.sh-auto5
-rw-r--r--homebrew/gnutypist/_metadata/description1
-rw-r--r--homebrew/gnutypist/_metadata/homepage1
-rw-r--r--homebrew/gnutypist/_metadata/name1
-rw-r--r--homebrew/gnutypist/_metadata/version1
-rwxr-xr-xhomebrew/gnutypist/download.sh1
-rwxr-xr-xhomebrew/gnutypist/patches.sh1
8 files changed, 42 insertions, 0 deletions
diff --git a/homebrew/gnutypist/.beer b/homebrew/gnutypist/.beer
new file mode 100644
index 000000000..291cff38a
--- /dev/null
+++ b/homebrew/gnutypist/.beer
@@ -0,0 +1,31 @@
+{
+ "name": "GnuTypist",
+ "description": "GNU typing tutor",
+ "url": "https://ftp.gnu.org/gnu/gtypist/gtypist-2.9.5.tar.xz",
+ "mirror": "https://ftpmirror.gnu.org/gtypist/gtypist-2.9.5.tar.xz",
+ "homepage": "https://www.gnu.org/software/gtypist/",
+ "depends": [
+ {
+ "depend": "gettext",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/42c4b96/gnu-typist/2.9.5.patch",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "ENV.append \"LDFLAGS\", \"-liconv\"",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--with-lispdir=#{elisp}\"",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.9.5",
+ "file": "gnu-typist.rb"
+} \ No newline at end of file
diff --git a/homebrew/gnutypist/.make.sh-auto b/homebrew/gnutypist/.make.sh-auto
new file mode 100644
index 000000000..10afd5fe0
--- /dev/null
+++ b/homebrew/gnutypist/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+ENV.append "LDFLAGS", "-liconv"
+pkg:configure --disable-dependency-tracking --with-lispdir=#{elisp}
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/gnutypist/_metadata/description b/homebrew/gnutypist/_metadata/description
new file mode 100644
index 000000000..cd53d5df3
--- /dev/null
+++ b/homebrew/gnutypist/_metadata/description
@@ -0,0 +1 @@
+GNU typing tutor
diff --git a/homebrew/gnutypist/_metadata/homepage b/homebrew/gnutypist/_metadata/homepage
new file mode 100644
index 000000000..5e0f1e1a4
--- /dev/null
+++ b/homebrew/gnutypist/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/gtypist/
diff --git a/homebrew/gnutypist/_metadata/name b/homebrew/gnutypist/_metadata/name
new file mode 100644
index 000000000..c2c08add3
--- /dev/null
+++ b/homebrew/gnutypist/_metadata/name
@@ -0,0 +1 @@
+GnuTypist
diff --git a/homebrew/gnutypist/_metadata/version b/homebrew/gnutypist/_metadata/version
new file mode 100644
index 000000000..1acd4dac0
--- /dev/null
+++ b/homebrew/gnutypist/_metadata/version
@@ -0,0 +1 @@
+2.9.5
diff --git a/homebrew/gnutypist/download.sh b/homebrew/gnutypist/download.sh
new file mode 100755
index 000000000..9e45d5114
--- /dev/null
+++ b/homebrew/gnutypist/download.sh
@@ -0,0 +1 @@
+wget https://ftp.gnu.org/gnu/gtypist/gtypist-2.9.5.tar.xz || wget https://ftpmirror.gnu.org/gtypist/gtypist-2.9.5.tar.xz \ No newline at end of file
diff --git a/homebrew/gnutypist/patches.sh b/homebrew/gnutypist/patches.sh
new file mode 100755
index 000000000..4a87247b5
--- /dev/null
+++ b/homebrew/gnutypist/patches.sh
@@ -0,0 +1 @@
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/42c4b96/gnu-typist/2.9.5.patch