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/gnutypist/.beer | 31 +++++++++++++++++++++++++++++++ homebrew/gnutypist/.make.sh-auto | 5 +++++ homebrew/gnutypist/_metadata/description | 1 + homebrew/gnutypist/_metadata/homepage | 1 + homebrew/gnutypist/_metadata/name | 1 + homebrew/gnutypist/_metadata/version | 1 + homebrew/gnutypist/download.sh | 1 + homebrew/gnutypist/patches.sh | 1 + 8 files changed, 42 insertions(+) create mode 100644 homebrew/gnutypist/.beer create mode 100644 homebrew/gnutypist/.make.sh-auto create mode 100644 homebrew/gnutypist/_metadata/description create mode 100644 homebrew/gnutypist/_metadata/homepage create mode 100644 homebrew/gnutypist/_metadata/name create mode 100644 homebrew/gnutypist/_metadata/version create mode 100755 homebrew/gnutypist/download.sh create mode 100755 homebrew/gnutypist/patches.sh (limited to 'homebrew/gnutypist') 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 -- cgit v1.2.3