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/extracturl | |
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/extracturl')
-rw-r--r-- | homebrew/extracturl/.beer | 56 | ||||
-rw-r--r-- | homebrew/extracturl/.make.sh-auto | 9 | ||||
-rw-r--r-- | homebrew/extracturl/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/extracturl/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/extracturl/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/extracturl/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/extracturl/download.sh | 1 |
7 files changed, 70 insertions, 0 deletions
diff --git a/homebrew/extracturl/.beer b/homebrew/extracturl/.beer new file mode 100644 index 000000000..a0c0487bc --- /dev/null +++ b/homebrew/extracturl/.beer @@ -0,0 +1,56 @@ +{ + "name": "ExtractUrl", + "description": "Perl script to extracts URLs from emails or plain text", + "url": "https://github.com/m3m0ryh0l3/extracturl/archive/v1.6.2.tar.gz", + "mirror": null, + "homepage": "https://www.memoryhole.net/~kyle/extract_url/", + "depends": [], + "resource": [ + { + "name": "MIME::Parser", + "url": "https://cpan.metacpan.org/authors/id/D/DS/DSKOLL/MIME-tools-5.508.tar.gz" + }, + { + "name": "HTML::Parser", + "url": "https://cpan.metacpan.org/authors/id/G/GA/GAAS/HTML-Parser-3.72.tar.gz" + }, + { + "name": "Pod::Usage", + "url": "https://cpan.metacpan.org/authors/id/M/MA/MAREKR/Pod-Usage-1.69.tar.gz" + }, + { + "name": "Env", + "url": "https://cpan.metacpan.org/authors/id/F/FL/FLORA/Env-1.04.tar.gz" + }, + { + "name": "Getopt::Long", + "url": "https://cpan.metacpan.org/authors/id/J/JV/JV/Getopt-Long-2.49.1.tar.gz" + }, + { + "name": "URI::Find", + "url": "https://cpan.metacpan.org/authors/id/M/MS/MSCHWERN/URI-Find-20160806.tar.gz" + }, + { + "name": "Curses", + "url": "https://cpan.metacpan.org/authors/id/G/GI/GIRAFFED/Curses-1.36.tar.gz" + }, + { + "name": "Curses::UI", + "url": "https://cpan.metacpan.org/authors/id/M/MD/MDXI/Curses-UI-0.9609.tar.gz" + } + ], + "conflicts": [], + "patches": [], + "install": [ + "ENV.prepend_create_path \"PERL5LIB\", libexec/\"lib/perl5\"", + "ENV.prepend_path \"PERL5LIB\", libexec/\"lib\"", + "inreplace \"extract_url.pl\", \"#!/usr/bin/env perl\", \"#!/usr/bin/perl\"", + "%w[MIME::Parser HTML::Parser Pod::Usage Env Getopt::Long Curses Curses::UI].each do |r|", + "resource(r).stage do", + "system \"perl\", \"Makefile.PL\", \"INSTALL_BASE=#{libexec}\"", + "system \"make\"", + "system \"make\", \"install\"" + ], + "version": "1.6.2", + "file": "extract_url.rb" +}
\ No newline at end of file diff --git a/homebrew/extracturl/.make.sh-auto b/homebrew/extracturl/.make.sh-auto new file mode 100644 index 000000000..4666e24f2 --- /dev/null +++ b/homebrew/extracturl/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +ENV.prepend_create_path "PERL5LIB", libexec/"lib/perl5" +ENV.prepend_path "PERL5LIB", libexec/"lib" +inreplace "extract_url.pl", "#!/usr/bin/env perl", "#!/usr/bin/perl" +%w[MIME::Parser HTML::Parser Pod::Usage Env Getopt::Long Curses Curses::UI].each do |r| +resource(r).stage do +perl Makefile.PL INSTALL_BASE=#{libexec} +make +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/extracturl/_metadata/description b/homebrew/extracturl/_metadata/description new file mode 100644 index 000000000..d9ef3fe85 --- /dev/null +++ b/homebrew/extracturl/_metadata/description @@ -0,0 +1 @@ +Perl script to extracts URLs from emails or plain text diff --git a/homebrew/extracturl/_metadata/homepage b/homebrew/extracturl/_metadata/homepage new file mode 100644 index 000000000..0545cb1d8 --- /dev/null +++ b/homebrew/extracturl/_metadata/homepage @@ -0,0 +1 @@ +https://www.memoryhole.net/~kyle/extract_url/ diff --git a/homebrew/extracturl/_metadata/name b/homebrew/extracturl/_metadata/name new file mode 100644 index 000000000..8d0db59db --- /dev/null +++ b/homebrew/extracturl/_metadata/name @@ -0,0 +1 @@ +ExtractUrl diff --git a/homebrew/extracturl/_metadata/version b/homebrew/extracturl/_metadata/version new file mode 100644 index 000000000..fdd3be6df --- /dev/null +++ b/homebrew/extracturl/_metadata/version @@ -0,0 +1 @@ +1.6.2 diff --git a/homebrew/extracturl/download.sh b/homebrew/extracturl/download.sh new file mode 100755 index 000000000..0475c1b93 --- /dev/null +++ b/homebrew/extracturl/download.sh @@ -0,0 +1 @@ +wget https://github.com/m3m0ryh0l3/extracturl/archive/v1.6.2.tar.gz
\ No newline at end of file |