Skip to content

Instantly share code, notes, and snippets.

@nuomi1
Last active February 27, 2020 03:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nuomi1/1de7077fa1ca76125f1b to your computer and use it in GitHub Desktop.
Save nuomi1/1de7077fa1ca76125f1b to your computer and use it in GitHub Desktop.
Homebrew Formula
class Dumptorrent < Formula
desc "DumpTorrent is a non-interactive text mode program which displays BitTorrent .torrent file information, including size, file names, announce[-list], comment, publisher and info_hash. It can also query (scrape) tracker for current downloader count."
homepage "https://sourceforge.net/projects/dumptorrent/"
url "https://downloads.sourceforge.net/project/dumptorrent/dumptorrent/1.2/dumptorrent-1.2.tar.gz"
sha256 "f583a9a2cac2d9522f98fe3245e2214734ead5bd9b9e017109beb95bd700701c"
def install
system "make"
bin.install "dumptorrent"
end
end
class Foxbook < Formula
desc "FoxBook"
homepage "https://github.com/linpinger/foxbook-java"
url "https://github.com/linpinger/foxbook-java/releases/download/2016-5-29/FoxBook.jar"
version "2016-5-29"
sha256 "d83c898251f8e0252b702d0111ff680eed033d38af2b3a4b9735d59c0670f47f"
head "https://github.com/linpinger/foxbook-java.git"
depends_on :java
def install
libexec.install "foxbook.jar"
bin.write_jar_script libexec/"foxbook.jar", "foxbook"
end
end
class Leanify < Formula
desc "Lightweight lossless file minifier/optimizer"
homepage "https://github.com/JayXon/Leanify"
url "https://github.com/JayXon/Leanify/archive/v0.4.3.tar.gz"
sha256 "ae37565be8c4d8cb89e9e584fb43e8a5f22277a2db4486e388663f98e34ff526"
head "https://github.com/JayXon/Leanify.git"
def install
system "make"
bin.install "leanify"
end
end
class PtexNg < Formula
desc "Asiatic pTeX"
homepage "https://github.com/clerkma/ptex-ng"
head "https://github.com/clerkma/ptex-ng.git"
def install
system "./build-aptex.sh"
bin.install "src/aptex", "src/lsotfea", "src/ptex-ng"
end
end
cask 'syntaxhighlight' do
version '1.0.b19'
sha256 'a17536242ffa630337441766df7aca3fa953c0be3a303fb212f8fd266e772c74'
url "https://github.com/sbarex/SourceCodeSyntaxHighlight/releases/download/#{version}/SyntaxHighlight.zip"
appcast 'https://github.com/sbarex/SourceCodeSyntaxHighlight/releases.atom'
name 'SyntaxHighlight'
homepage 'https://github.com/sbarex/SourceCodeSyntaxHighlight'
app 'Syntax Highlight.app'
end
class Txt2ebook < Formula
desc "Txt2eBook"
homepage "https://github.com/linpinger/txt2ebook-java"
url "https://github.com/linpinger/txt2ebook-java/releases/download/2018-01-10/Txt2eBook.jar"
version "2018-01-10"
sha256 "b39bccd8c38ecad3616a82b2eea1741d88f2b091577dfd497cd48488a7f6e809"
head "https://github.com/linpinger/txt2ebook-java.git"
depends_on :java
def install
libexec.install "txt2ebook.jar"
bin.write_jar_script libexec/"txt2ebook.jar", "txt2ebook"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment