├── Formula ├── git-kraken.rb ├── resilio-sync.rb ├── light-table.rb ├── cljstyle.rb ├── betwixt.rb ├── pepper-flash.rb ├── pgweb-binary.rb ├── postgresql-binary.rb ├── visualvm.rb ├── packer-binary.rb ├── clion.rb ├── dbeaver-ee.rb ├── discord.rb ├── group-me.rb ├── phpstorm.rb ├── smart-synchronize.rb ├── fzf-binary.rb ├── oni.rb ├── sublime-merge.rb ├── webstorm.rb ├── blender.rb ├── mancy.rb ├── rubymine.rb ├── visualvm-multiple-language.rb ├── intellij-idea.rb ├── ricochet.rb ├── shadowsocks-go-client-binary.rb ├── datagrip.rb ├── intellij-idea-ce.rb ├── shadowsocks-go-server-binary.rb ├── unetbootin.rb ├── dive-binary.rb ├── bat-binary.rb ├── terminus.rb ├── git-lfs-binary.rb ├── xiaoshujiang.rb ├── pycharm-ce.rb ├── pycharm.rb ├── sublime-text.rb ├── fx-binary.rb ├── neovim-binary.rb ├── kitty-binary.rb ├── baidu-pcs-go.rb ├── calibre.rb ├── code-server.rb ├── dbeaver-ce.rb ├── youtube-dl-binary.rb ├── android-studio.rb ├── eclipse-jee.rb ├── postman.rb ├── smartgit.rb ├── db-visualizer.rb ├── lantern.rb ├── micro-binary.rb ├── intellij-idea-no-jdk.rb ├── ttyd-binary.rb ├── wuzz-binary.rb ├── insomnia.rb ├── brave-laptop.rb ├── dbdeployer.rb ├── electronic-qq.rb ├── brave-browser.rb ├── dotnet-core-sdk-ubuntu-trusty.rb ├── intellij-idea-ce-no-jdk.rb ├── lazygit-binary.rb ├── sqltabs.rb ├── vscode.rb ├── dotnet-core-runtime-ubuntu-trusty.rb ├── dotnet-core-sdk-ubuntu-xenial.rb ├── free-file-sync.rb ├── rocketchat-desktop.rb ├── clash-for-windows.rb ├── dotnet-core-runtime-ubuntu-xenial.rb ├── microsoft-teams.rb ├── spring-tool-suite.rb ├── dotnet-core-runtime-lts-ubuntu-trusty.rb ├── komodo-edit.rb ├── azul-zulu-jdk.rb ├── dnscrypt-proxy-binary.rb ├── dotnet-core-runtime-lts-ubuntu-xenial.rb ├── lazydocker-binary.rb ├── ffmpeg-binary.rb ├── ngrok.rb ├── vscodium.rb ├── electronic-wechat.rb ├── go-tun2socks.rb ├── vscode-insiders.rb ├── electron-ssr.rb ├── go-proxy.rb ├── signal-cli.rb ├── amazon-corretto@8.rb ├── browsh-binary.rb ├── httpie-go.rb ├── julia-binary.rb ├── mitmproxy-binary.rb ├── sap-machine-jdk.rb ├── librefox.rb ├── librefox-esr.rb ├── docker-compose-binary.rb ├── docker-machine-binary.rb ├── firefox.rb ├── freenet.rb ├── firefox-esr.rb ├── android-cli-tools.rb ├── firefox-beta.rb ├── firefox-dev.rb ├── firefox-zhcn.rb ├── ungoogled-chromium.rb ├── firefox-esr-zhcn.rb ├── firefox-beta-zhcn.rb ├── firefox-dev-zhcn.rb ├── oracle-jdk-lts.rb ├── lux-binary.rb ├── zoom.rb ├── node-binary.rb ├── sublime-text-with-ime-fix.rb ├── shuttle.rb ├── docker-ce-binary.rb ├── node-lts-binary.rb ├── telegram-desktop.rb ├── atom.rb ├── filezilla.rb ├── clash-binary.rb ├── clash-premium-binary.rb ├── teamviewer.rb ├── tor-browser.rb ├── nwjs.rb ├── v2ray-binary.rb ├── nwjs-sdk.rb ├── go-binary.rb ├── powershell-binary.rb └── jetbrains-toolbox.rb ├── archive.travis.yml └── README.md /Formula/git-kraken.rb: -------------------------------------------------------------------------------- 1 | class GitKraken < Formula 2 | desc "The downright luxurious Git client, for Windows, Mac & Linux." 3 | homepage "https://www.gitkraken.com/" 4 | version "3.5.1" 5 | url "https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz" 6 | sha256 "f12cb1c4a6dfd18310ac5022bcf53fc9d610b43c66e111d17faea71f83fdc4b5" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/gitkraken") 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /Formula/resilio-sync.rb: -------------------------------------------------------------------------------- 1 | class ResilioSync < Formula 2 | desc "A fast, reliable, and simple file sync and share solution." 3 | homepage "https://www.resilio.com/" 4 | version "2.4.3" 5 | 6 | url "https://download-cdn.resilio.com/stable/linux-x64/resilio-sync_x64.tar.gz" 7 | sha256 "baedc5f316705bd2f74097776eba6b4d9f4ba02531353c2a3d4938e18d05815a" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/rslsync") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/light-table.rb: -------------------------------------------------------------------------------- 1 | class LightTable < Formula 2 | desc "The Light Table IDE, the next generation code editor." 3 | homepage "http://lighttable.com/" 4 | version "0.8.1" 5 | 6 | url "https://github.com/LightTable/LightTable/releases/download/0.8.1/lighttable-0.8.1-linux.tar.gz" 7 | sha256 "fb96cc29fc22a96380c894b4eaa6397be05e653ccab7e33277c341d78b38d219" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/light") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/cljstyle.rb: -------------------------------------------------------------------------------- 1 | class Cljstyle < Formula 2 | desc "Tool for formatting Clojure code" 3 | homepage "https://github.com/greglook/cljstyle" 4 | version "0.15.0" 5 | 6 | url "https://github.com/greglook/cljstyle/releases/download/#{version}/cljstyle_#{version}_linux.tar.gz" 7 | sha256 "01082571ced68115fc17c6ddd8bc5c19983c7d8dcd90f48b41795ac44c641c46" 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/cljstyle" => "cljstyle") 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /Formula/betwixt.rb: -------------------------------------------------------------------------------- 1 | class Betwixt < Formula 2 | desc "Web Debugging Proxy based on Chrome DevTools Network panel." 3 | homepage "https://github.com/kdzwinel/betwixt" 4 | version "1.3.0" 5 | 6 | url "https://github.com/kdzwinel/betwixt/releases/download/#{version}/Betwixt-linux-x64.zip" 7 | sha256 "9fae4a5f68ce43fa22f473d33357bfd3f2a7f235df272ed684522c6a9a117dee" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/Betwixt" => "betwixt") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/pepper-flash.rb: -------------------------------------------------------------------------------- 1 | class PepperFlash < Formula 2 | desc "Adobe Flash Player" 3 | homepage "https://get.adobe.com/flashplayer/" 4 | version "27.0.0.183" 5 | url "https://fpdownload.adobe.com/pub/flashplayer/pdc/#{version}/flash_player_ppapi_linux.x86_64.tar.gz" 6 | sha256 "144325c00f40dfa704eda72fda6518ef797eb5be37715626099de8e722f80d22" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/libpepflashplayer.so" => "libpepflashplayer.so") 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /archive.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | 3 | env: 4 | - LINUXBREW_HOME=$HOME/.linuxbrew PATH=$LINUXBREW_HOME/bin:$PATH 5 | 6 | rvm: 7 | - 2.2 8 | 9 | branches: 10 | only: 11 | - dev 12 | 13 | before_install: 14 | - "sudo apt-get -qq update" 15 | - "sudo apt-get install -y build-essential curl git python-setuptools" 16 | 17 | install: 18 | - "git clone https://github.com/Linuxbrew/brew.git $LINUXBREW_HOME" 19 | - "brew update" 20 | 21 | script: 22 | - "brew audit --strict --online $TRAVIS_BUILD_DIR/Formula/*" 23 | -------------------------------------------------------------------------------- /Formula/pgweb-binary.rb: -------------------------------------------------------------------------------- 1 | class PgwebBinary < Formula 2 | desc "Cross-platform client for PostgreSQL databases, binary installation." 3 | homepage "https://sosedoff.github.io/pgweb" 4 | version "0.9.6" 5 | 6 | url "https://github.com/sosedoff/pgweb/releases/download/v#{version}/pgweb_linux_amd64.zip" 7 | sha256 "550fb4bc628b51891a5fd5cfd48221999154343d0c2a9a4182b4151ff8464fe6" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/pgweb_linux_amd64" => "pgweb") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/postgresql-binary.rb: -------------------------------------------------------------------------------- 1 | class PostgresqlBinary < Formula 2 | desc "PostgreSQL binary installation from EnterpriseDB." 3 | homepage "http://www.enterprisedb.com/" 4 | version "9.6.0-1" 5 | 6 | url "http://get.enterprisedb.com/postgresql/postgresql-#{version}-linux-binaries.tar.gz" 7 | sha256 "4da4eb3c5f0e2baade3ca24241796dbecfe728019238944833793b05fe245e84" 8 | 9 | conflicts_with "postgresql" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink Dir["#{libexec}/bin/*"] 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /Formula/visualvm.rb: -------------------------------------------------------------------------------- 1 | class Visualvm < Formula 2 | desc "VisualVM is an All-in-One Java Troubleshooting Tool." 3 | homepage "https://visualvm.github.io/" 4 | version "1.3.9" 5 | 6 | url "https://github.com/oracle/visualvm/releases/download/#{version}/visualvm_139.zip" 7 | sha256 "90dfabfcbebe9214c8474c9edd1c36d67426b162ec642cb3527540a191812b93" 8 | 9 | conflicts_with "visualvm-multiple-language" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/bin/visualvm") 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /Formula/packer-binary.rb: -------------------------------------------------------------------------------- 1 | class PackerBinary < Formula 2 | desc "Packer is a tool for creating machine and container images for multiple platforms from a single source configuration." 3 | homepage "https://www.packer.io/" 4 | version "0.12.2" 5 | 6 | url "https://releases.hashicorp.com/packer/#{version}/packer_#{version}_linux_amd64.zip" 7 | sha256 "035d0ea1fe785ab6b673bc2a79399125d4014f29151e106635fa818bb726bebf" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/packer") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/clion.rb: -------------------------------------------------------------------------------- 1 | class Clion < Formula 2 | desc "A cross-platform IDE for C and C++" 3 | homepage "http://www.jetbrains.com/clion/" 4 | version "2018.3.4" 5 | url "https://download.jetbrains.com/cpp/CLion-#{version}.tar.gz" 6 | sha256 "963fb343272e5903ac7dc944cc64ea9541ab4c150cc4ea796dcb0fb613bff4fd" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/bin/clion.sh" => "clion") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "clion". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/dbeaver-ee.rb: -------------------------------------------------------------------------------- 1 | class DbeaverEe < Formula 2 | desc "One tool for all databases." 3 | homepage "https://dbeaver.com" 4 | version "5.2.2" 5 | 6 | url "https://dbeaver.com/files/#{version}/dbeaver-ee-#{version}-linux.gtk.x86_64.tar.gz" 7 | sha256 "b8cb43de8c71fef18b08fa6e5b8c49b5eddd9309aeaf689b55ebfd9de4d5178e" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/dbeaver") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable linked as "dbeaver". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/discord.rb: -------------------------------------------------------------------------------- 1 | class Discord < Formula 2 | desc "All-in-one voice and text chat for gamers that's free & secure" 3 | homepage "https://discordapp.com/" 4 | version "0.0.18" 5 | 6 | url "https://dl.discordapp.net/apps/linux/#{version}/discord-#{version}.tar.gz" 7 | sha256 "0417389fa437c6e044d77252de0cffe8473074e596e7b34ba76b1a3a5c0e80c2" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/Discord" => "discord") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "discord". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/group-me.rb: -------------------------------------------------------------------------------- 1 | class GroupMe < Formula 2 | desc "Unofficial GroupMe App" 3 | homepage "https://github.com/dcrousso/GroupMe" 4 | version "1.1.1" 5 | 6 | url "https://github.com/dcrousso/GroupMe/releases/download/v#{version}/GroupMe-linux-#{version}.zip" 7 | 8 | sha256 "85e79de8cb36048bdb421d6c8b45d07ad5326fc51b1ae05d4bbfff52f8a9c594" 9 | 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/GroupMe" => "groupme") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "groupme". 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/phpstorm.rb: -------------------------------------------------------------------------------- 1 | class Phpstorm < Formula 2 | desc "Lightning-smart PHP IDE" 3 | homepage "http://www.jetbrains.com/phpstorm/" 4 | version "2018.1.5" 5 | url "https://download.jetbrains.com/webide/PhpStorm-#{version}.tar.gz" 6 | sha256 "29b2423e46f0aa68d65a8ce18e52950ea7191bddef2ce2e6f031136860736920" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/bin/phpstorm.sh" => "phpstorm") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "phpstorm". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/smart-synchronize.rb: -------------------------------------------------------------------------------- 1 | class SmartSynchronize < Formula 2 | desc "SmartSynchronize is a multi-platform file and directory compare tool." 3 | homepage "http://www.syntevo.com/smartsynchronize/" 4 | version "3.4.7" 5 | url "http://www.syntevo.com/static/smart/download/smartsynchronize/smartsynchronize-generic-3_4_7.tar.gz" 6 | sha256 "36cf81f55ee6a400b322dfaa7be1510ec497df6512e0f921d79cd5487dbe15e3" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/bin/smartsynchronize.sh" => "smartsynchronize") 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /Formula/fzf-binary.rb: -------------------------------------------------------------------------------- 1 | class FzfBinary < Formula 2 | desc "A command-line fuzzy finder" 3 | homepage "https://github.com/junegunn/fzf" 4 | version "0.27.0" 5 | 6 | url "https://github.com/junegunn/fzf/releases/download/#{version}/fzf-#{version}-linux_amd64.tar.gz" 7 | sha256 "1794d7f89a7e0a3d5fcb010c042fef097e5cfdf306ef45b532c4ac0e6ce276a1" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/fzf") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "fzf". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/oni.rb: -------------------------------------------------------------------------------- 1 | class Oni < Formula 2 | desc "Modern Modal Editing - powered by Neovim." 3 | homepage "https://github.com/onivim/oni" 4 | version "0.2.21" 5 | url "https://github.com/onivim/oni/releases/download/v#{version}/Oni-#{version}-x64-linux.tar.gz" 6 | sha256 "ede7c765a76716d500b7eb9a401b631aadb83a23227526108201f4b43ad9c9a3" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/oni" => "oni") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "oni". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/sublime-merge.rb: -------------------------------------------------------------------------------- 1 | class SublimeMerge < Formula 2 | desc "Git Client, done Sublime." 3 | homepage "https://www.sublimemerge.com" 4 | version "1107" 5 | 6 | url "https://download.sublimetext.com/sublime_merge_build_#{version}_x64.tar.xz" 7 | sha256 "70edbb16529d638ea41a694dbc5b1408c76fcc3a7d663ef0e48b4e89e1f19c71" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/sublime_merge" => "subm") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable linked as "subm". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/webstorm.rb: -------------------------------------------------------------------------------- 1 | class Webstorm < Formula 2 | desc "The smartest JavaScript IDE." 3 | homepage "http://www.jetbrains.com/webstorm/" 4 | version "2017.1.4" 5 | url "https://download.jetbrains.com/webstorm/WebStorm-#{version}.tar.gz" 6 | sha256 "f50b5cf70a0566976313c31530c20093ef526746ff4d27ec2e5adbc99138822b" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/bin/webstorm.sh" => "webstorm") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "webstorm". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/blender.rb: -------------------------------------------------------------------------------- 1 | class Blender < Formula 2 | desc "free and open source 3D creation suite." 3 | homepage "https://www.blender.org" 4 | version "2.79" 5 | 6 | url "https://download.blender.org/release/Blender2.79/blender-2.79b-linux-glibc219-x86_64.tar.bz2" 7 | sha256 "43824a4e0b0c6de6fa34ff224eec44c1cc9f26a95f6f3c8c2558d1c05704183c" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/blender") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "blender". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/mancy.rb: -------------------------------------------------------------------------------- 1 | class Mancy < Formula 2 | desc "Electron based NodeJS REPL." 3 | homepage "https://github.com/princejwesley/Mancy" 4 | version "3.2.0" 5 | url "https://github.com/princejwesley/Mancy/releases/download/v#{version}/Mancy-linux-x64.zip" 6 | sha256 "7b8143957bf08e7a7e4278e220ffa75db91c2d6932cec9170df5b236d7e09e7a" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink({"#{libexec}/Mancy" => "mancy"}) 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "mancy". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/rubymine.rb: -------------------------------------------------------------------------------- 1 | class Rubymine < Formula 2 | desc "The Most Intelligent Ruby and Rails IDE." 3 | homepage "http://www.jetbrains.com/ruby/" 4 | version "2017.1.4" 5 | url "https://download.jetbrains.com/ruby/RubyMine-#{version}.tar.gz" 6 | sha256 "1f991efdda770d5e267d70bc6f547bb2417d485533940888c88f304bad02531a" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/bin/rubymine.sh" => "rubymine") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "rubymine". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/visualvm-multiple-language.rb: -------------------------------------------------------------------------------- 1 | class VisualvmMultipleLanguage < Formula 2 | desc "VisualVM is an All-in-One Java Troubleshooting Tool, multiple language version." 3 | homepage "https://visualvm.github.io/" 4 | version "1.3.9" 5 | 6 | url "https://github.com/oracle/visualvm/releases/download/#{version}/visualvm_139-ml.zip" 7 | sha256 "5a757f3c7fe119ff9449d098e02fad9611564587495e24f4b36b9f6b4055e4fe" 8 | 9 | conflicts_with "visualvm" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/bin/visualvm") 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /Formula/intellij-idea.rb: -------------------------------------------------------------------------------- 1 | class IntellijIdea < Formula 2 | desc "The Most Intelligent Java IDE, ultimate edition." 3 | homepage "http://www.jetbrains.com/idea/" 4 | version "2018.3.4" 5 | url "https://download.jetbrains.com/idea/ideaIU-#{version}.tar.gz" 6 | sha256 "3866349090ea295c0ac4f1b77d20c74d8c9647e73e5ad541c61b3dfbfc4ab5f3" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/bin/idea.sh" => "idea") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "idea". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/ricochet.rb: -------------------------------------------------------------------------------- 1 | class Ricochet < Formula 2 | desc "Anonymous instant messaging for real privacy" 3 | homepage "https://ricochet.im/" 4 | version "1.1.4" 5 | 6 | url "https://github.com/ricochet-im/ricochet/releases/download/v#{version}/ricochet-#{version}-linux-x86_64.tar.bz2" 7 | sha256 "60880482bc9a24e1ffaa56f016b5dcd37a9829af076a983a7637beefff4d2ab3" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/ricochet" => "ricochet") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "ricochet". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/shadowsocks-go-client-binary.rb: -------------------------------------------------------------------------------- 1 | class ShadowsocksGoClientBinary < Formula 2 | desc "Go port of shadowsocks, client binary." 3 | homepage "https://github.com/shadowsocks/shadowsocks-go" 4 | version "1.1.5" 5 | 6 | url "https://github.com/shadowsocks/shadowsocks-go/releases/download/#{version}/shadowsocks-local-linux64-#{version}.gz" 7 | sha256 "3d7c6a0af87e6d214faff93aa46ae989d5534b6b9f01474fd3538c9a2559dd64" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install("#{libexec}/shadowsocks-local-linux64-#{version}" => "ssgo_local") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/datagrip.rb: -------------------------------------------------------------------------------- 1 | class Datagrip < Formula 2 | desc "Your Swiss Army Knife for Databases and SQL." 3 | homepage "http://www.jetbrains.com/datagrip/" 4 | version "2017.2.2" 5 | url "https://download.jetbrains.com/datagrip/datagrip-#{version}.tar.gz" 6 | sha256 "966b02edc6a65b0d6f36a7d00805bfd021cfb1a82f3e76f99facbcc45d311ed1" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/bin/datagrip.sh" => "datagrip") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "datagrip". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/intellij-idea-ce.rb: -------------------------------------------------------------------------------- 1 | class IntellijIdeaCe < Formula 2 | desc "The Most Intelligent Java IDE, community edition." 3 | homepage "http://www.jetbrains.com/idea/" 4 | version "2018.1.4" 5 | url "https://download.jetbrains.com/idea/ideaIC-#{version}.tar.gz" 6 | sha256 "26e674de05976cc7e822d77a2dfe8b8f6136e18f1e91f1c8212019f2781164e1" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/bin/idea.sh" => "ideac") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "ideac". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/shadowsocks-go-server-binary.rb: -------------------------------------------------------------------------------- 1 | class ShadowsocksGoServerBinary < Formula 2 | desc "Go port of shadowsocks, server binary." 3 | homepage "https://github.com/shadowsocks/shadowsocks-go" 4 | version "1.1.5" 5 | 6 | url "https://github.com/shadowsocks/shadowsocks-go/releases/download/#{version}/shadowsocks-server-linux64-#{version}.gz" 7 | sha256 "22495e2e0bb36a6fbe3c8be75943613319d080825d6fdb2c0efeb3507882f90a" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install("#{libexec}/shadowsocks-server-linux64-#{version}" => "ssgo_server") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/unetbootin.rb: -------------------------------------------------------------------------------- 1 | class Unetbootin < Formula 2 | desc "UNetbootin allows you to create bootable Live USB drives for Ubuntu and other Linux distributions without burning a CD." 3 | homepage "https://unetbootin.github.io/" 4 | version "613" 5 | 6 | url "https://launchpad.net/unetbootin/trunk/#{version}/+download/unetbootin-linux64-#{version}.bin" 7 | sha256 "845e653572dd8589ba5a76fcc1ea8c8c8d238e0e2a32db6a0c56b1f0b6620175" 8 | 9 | 10 | def install 11 | prefix.install Dir["*"] 12 | bin.install("#{prefix}/unetbootin-linux64-#{version}.bin" => "unetbootin") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/dive-binary.rb: -------------------------------------------------------------------------------- 1 | class DiveBinary < Formula 2 | desc "A tool for exploring each layer in a docker image" 3 | homepage "https://github.com/wagoodman/dive" 4 | version "0.4.1" 5 | 6 | url "https://github.com/wagoodman/dive/releases/download/v0.4.1/dive_0.4.1_linux_amd64.tar.gz" 7 | sha256 "f7817df91342212ac42af4e8c08ffbc18ebd89b8890138dca2758dd156f99fd4" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/dive") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable linked as "dive". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/bat-binary.rb: -------------------------------------------------------------------------------- 1 | class BatBinary < Formula 2 | desc "Go implement CLI, cURL-like tool for humans" 3 | homepage "https://github.com/astaxie/bat" 4 | version "0.0.1" 5 | 6 | url "https://github.com/astaxie/bat/releases/download/v#{version}/bat_#{version}_linux_amd64.tar.gz" 7 | sha256 "4cc9c8e01524caf41b94f3159f95734cf1e5874521308f4708e3d535397be800" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/bat" => "bat") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "bat". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/terminus.rb: -------------------------------------------------------------------------------- 1 | class Terminus < Formula 2 | desc "A terminal for a more modern age" 3 | homepage "https://github.com/Eugeny/terminus" 4 | version "1.0.0.61" 5 | 6 | url "https://github.com/Eugeny/terminus/releases/download/v1.0.0-alpha.61/terminus-1.0.0-alpha.61-linux.tar.gz" 7 | sha256 "77af2240afee7f1ed2048a04bb8ddd25b85135662e40660fca4db792886b9974" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/terminus") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "terminus". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/git-lfs-binary.rb: -------------------------------------------------------------------------------- 1 | class GitLfsBinary < Formula 2 | desc "Git extension for versioning large files." 3 | homepage "https://git-lfs.github.com/" 4 | version "2.3.4" 5 | 6 | url "https://github.com/git-lfs/git-lfs/releases/download/v#{version}/git-lfs-linux-amd64-#{version}.tar.gz" 7 | sha256 "6755e109a85ffd9a03aacc629ea4ab1cbb8e7d83e41bd1880bf44b41927f4cfe" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/git-lfs") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "git-lfs". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/xiaoshujiang.rb: -------------------------------------------------------------------------------- 1 | class Xiaoshujiang < Formula 2 | desc "小书匠 - cross-platform markdown writer." 3 | homepage "http://xiaoshujiang.com" 4 | version "6.7.0" 5 | 6 | url "https://github.com/suziwen/markdownxiaoshujiang/releases/download/v#{version}/Story-writer-linux64.zip" 7 | sha256 "c11d3ba60b66948954864131ab73ae1d859635ed0a6a055ddf3c788dd440c35e" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/Story-writer" => "xsj") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "xsj". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/pycharm-ce.rb: -------------------------------------------------------------------------------- 1 | class PycharmCe < Formula 2 | desc "Python IDE for Professional Developers, community edition." 3 | homepage "http://www.jetbrains.com/pycharm/" 4 | version "2018.1.4" 5 | url "https://download.jetbrains.com/python/pycharm-community-#{version}.tar.gz" 6 | sha256 "90953ca424bb331348e3575975fab4e189ab126ddc367223e3a7cb01b1563f3b" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/bin/pycharm.sh" => "pycharmc") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "pycharmc". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/pycharm.rb: -------------------------------------------------------------------------------- 1 | class Pycharm < Formula 2 | desc "Python IDE for Professional Developers, professional edition." 3 | homepage "http://www.jetbrains.com/pycharm/" 4 | version "2018.1.4" 5 | url "https://download.jetbrains.com/python/pycharm-professional-#{version}.tar.gz" 6 | sha256 "6cda9b2717b161387983a09ed88b39d76d88fea208601d125666c02b7c6961cf" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/bin/pycharm.sh" => "pycharm") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "pycharm". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/sublime-text.rb: -------------------------------------------------------------------------------- 1 | class SublimeText < Formula 2 | desc "Sublime Text is a sophisticated text editor for code, markup and prose." 3 | homepage "https://www.sublimetext.com" 4 | version "3207" 5 | 6 | url "https://download.sublimetext.com/sublime_text_3_build_#{version}_x64.tar.bz2" 7 | sha256 "acb64f1de024a0f004888096afa101051e48d96c7a3e7fe96e11312d524938c4" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/sublime_text" => "subl") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable linked as "subl". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/fx-binary.rb: -------------------------------------------------------------------------------- 1 | class FxBinary < Formula 2 | desc "Command-line tool and terminal JSON viewer" 3 | homepage "https://github.com/antonmedv/fx" 4 | version "3.1.0" 5 | 6 | url "https://github.com/antonmedv/fx/releases/download/#{version}/fx-linux" 7 | sha256 "7c2632ed00aebd70d44e3a7c0bf1e360ca8d7520f4cd37fbd46002a312708137" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | chmod(0755, "#{libexec}/fx-linux") 13 | bin.install_symlink("#{libexec}/fx-linux" => "fx") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable linked as "fx". 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/neovim-binary.rb: -------------------------------------------------------------------------------- 1 | class NeovimBinary < Formula 2 | desc "Vim-fork focused on extensibility and usability" 3 | homepage "https://neovim.io" 4 | version "0.5.0" 5 | 6 | url "https://github.com/neovim/neovim/releases/download/v#{version}/nvim-linux64.tar.gz" 7 | sha256 "cd59e885143e0fa7e43cfdacbc8e37dc033c56d9205b8f8a8acd08cd9f93737d" 8 | 9 | conflicts_with "neovim" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/nvim" => "nvim") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "nvim". 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/kitty-binary.rb: -------------------------------------------------------------------------------- 1 | class KittyBinary < Formula 2 | desc "A cross-platform, fast, feature full, GPU based terminal emulator" 3 | homepage "https://github.com/kovidgoyal/kitty" 4 | version "0.24.4" 5 | 6 | url "https://github.com/kovidgoyal/kitty/releases/download/v#{version}/kitty-#{version}-x86_64.txz" 7 | sha256 "70ac4f0c22fc39b4c8e8bb50054cd37638aa48f0fdeaae8016a864693fb71663" 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/bin/kitty") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "kitty". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/baidu-pcs-go.rb: -------------------------------------------------------------------------------- 1 | class BaiduPcsGo < Formula 2 | desc "Baidu Personal-Cloud-Storage CLI client." 3 | homepage "https://github.com/iikira/BaiduPCS-Go" 4 | version "3.5.6" 5 | 6 | url "https://github.com/iikira/BaiduPCS-Go/releases/download/v#{version}/BaiduPCS-Go-v#{version}-linux-amd64.zip" 7 | sha256 "d55a391470789944f019bf757fd02a08a7d63ad88662528209256076c8264fdd" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/BaiduPCS-Go" => "bdpcs") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "bdpcs". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/calibre.rb: -------------------------------------------------------------------------------- 1 | class Calibre < Formula 2 | desc "A powerful and easy to use e-book manager" 3 | homepage "https://calibre-ebook.com/" 4 | version "5.6.0" 5 | 6 | url "https://github.com/kovidgoyal/calibre/releases/download/v#{version}/calibre-#{version}-x86_64.txz" 7 | sha256 "37715ef44a75d4ae7cf2fc9a379805837a29b44f1eeacfab853a0b4acd73157a" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/calibre" => "calibre") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "calibre". 17 | For more usage information, see "calibre --help". 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/code-server.rb: -------------------------------------------------------------------------------- 1 | class CodeServer < Formula 2 | desc "Run VS Code on a remote server." 3 | homepage "https://github.com/cdr/code-server" 4 | version "1.939" 5 | 6 | url "https://github.com/cdr/code-server/releases/download/#{version}-vsc1.33.1/code-server#{version}-vsc1.33.1-linux-x64.tar.gz" 7 | sha256 "3c266d496f30582e906b71d6bc86673787ef52761eedca08445518502744fea1" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/code-server") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "code-server". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/dbeaver-ce.rb: -------------------------------------------------------------------------------- 1 | class DbeaverCe < Formula 2 | desc "Free universal database tool and SQL client." 3 | homepage "https://github.com/dbeaver/dbeaver" 4 | version "6.0.0" 5 | 6 | url "https://github.com/dbeaver/dbeaver/releases/download/#{version}/dbeaver-ce-#{version}-linux.gtk.x86_64.tar.gz" 7 | sha256 "b9b722ab0c5ac6099092c43a04426e84bd9b857e646a1f7fe987fb09efdeffec" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/dbeaver" => "dbeaverc") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable linked as "dbeaverc". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/youtube-dl-binary.rb: -------------------------------------------------------------------------------- 1 | class YoutubeDlBinary < Formula 2 | desc "Download videos from YouTube (and more sites)." 3 | homepage "https://rg3.github.io/youtube-dl/" 4 | version "2018.06.19" 5 | url "https://yt-dl.org/downloads/#{version}/youtube-dl-#{version}.tar.gz" 6 | sha256 "e68ff7b344d24ecc7714b6c91ddbb833c438ac3e654d9f8fbdb29e4c10ab427b" 7 | conflicts_with "youtube-dl" 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/bin/youtube-dl") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "youtube-dl". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/android-studio.rb: -------------------------------------------------------------------------------- 1 | class AndroidStudio < Formula 2 | desc "The official Android IDE." 3 | homepage "https://developer.android.com/studio/" 4 | version "3.3.1" 5 | 6 | url "https://dl.google.com/dl/android/studio/ide-zips/3.3.1.0/android-studio-ide-182.5264788-linux.zip" 7 | sha256 "82603100f772baf5b6b54532375ada756b4b2dc11854cabae267cd8bd8c4f039" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/bin/studio.sh" => "android_studio") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "android_studio". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/eclipse-jee.rb: -------------------------------------------------------------------------------- 1 | class EclipseJee < Formula 2 | desc "Tools for Java developers creating Java EE and Web applications, including a Java IDE, tools for Java EE, JPA, JSF, Mylyn, EGit and others." 3 | homepage "https://www.eclipse.org/" 4 | version "4.6.1" 5 | 6 | url "https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/neon/1a/eclipse-jee-neon-1a-linux-gtk-x86_64.tar.gz&r=1" 7 | sha256 "edadd11440d94436665ca0435e8e1a371cef3b187e9d85a17be301e1ee1fc807" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/eclipse" => "eclipse") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/postman.rb: -------------------------------------------------------------------------------- 1 | class Postman < Formula 2 | desc "Postman helps you develop APIs faster." 3 | homepage "https://www.getpostman.com" 4 | version "8.10.0" 5 | 6 | url "https://dl.pstmn.io/download/version/#{version}/linux64" 7 | sha256 "05f3eaa229483a7e1f698e6e2ea2031d37687de540d4fad05ce677ac216db24d" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/Postman" => "postman") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executive is linked as "postman". 17 | Find latest versions in https://www.getpostman.com/apps#changelog 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/smartgit.rb: -------------------------------------------------------------------------------- 1 | class Smartgit < Formula 2 | desc "SmartGit is a Git client with support for GitHub Pull Requests+Comments, SVN and Mercurial." 3 | homepage "http://www.syntevo.com/smartgit/" 4 | version "18.1.3" 5 | url "https://www.syntevo.com/downloads/smartgit/smartgit-linux-18_1_3.tar.gz" 6 | sha256 "ad12334c7608c9bcd515551caaf8711a4ebb090903b8874afdaccd9d36da74e7" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/bin/smartgit.sh" => "smartgit") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable linked as "smartgit". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/db-visualizer.rb: -------------------------------------------------------------------------------- 1 | class DbVisualizer < Formula 2 | desc "DbVisualizer is the universal database tool for developers, DBAs and analysts. It is the perfect solution since the same tool can be used on all major operating systems accessing a wide range of databases." 3 | homepage "https://www.dbvis.com/" 4 | version "9.5.7" 5 | 6 | url "https://www.dbvis.com/product_download/dbvis-#{version}/media/dbvis_unix_9_5_7.tar.gz" 7 | sha256 "d95b3aeb3d8de29c238cd60b0d8cbc2294ab68a172a37ff6764e44c90e7764f7" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/bin/dbvis") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/lantern.rb: -------------------------------------------------------------------------------- 1 | class Lantern < Formula 2 | desc "Lantern is a free application that delivers fast, reliable and secure access to the open Internet." 3 | homepage "https://getlantern.org/" 4 | version "3.5.9" 5 | 6 | url "https://github.com/getlantern/lantern/releases/download/#{version}/update_linux_amd64.bz2" 7 | sha256 "0f8a73f50470aae79f3ca4db4af4974e11ab89780a808261d34cffaabd8a025b" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | mv("#{libexec}/update_linux_amd64", "#{libexec}/lantern") 13 | chmod(0755, "#{libexec}/lantern") 14 | bin.install_symlink("#{libexec}/lantern") 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /Formula/micro-binary.rb: -------------------------------------------------------------------------------- 1 | class MicroBinary < Formula 2 | desc "A modern and intuitive terminal-based text editor" 3 | homepage "https://github.com/zyedidia/micro" 4 | version "1.4.1" 5 | 6 | url "https://github.com/zyedidia/micro/releases/download/v#{version}/micro-#{version}-linux64.tar.gz" 7 | sha256 "e7d4c9427f9fdfed78e69d42cf518e93ae15fc8f70b7f0f87d292ed81206e900" 8 | 9 | conflicts_with "micro" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/micro") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "micro". 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/intellij-idea-no-jdk.rb: -------------------------------------------------------------------------------- 1 | class IntellijIdeaNoJdk < Formula 2 | desc "The Most Intelligent Java IDE, ultimate edition." 3 | homepage "http://www.jetbrains.com/idea/" 4 | version "2018.1.4" 5 | url "https://download.jetbrains.com/idea/ideaIU-#{version}-no-jdk.tar.gz" 6 | sha256 "e1f426c24e9a31d016d7225763c926107eff419c99cf81c4b44caf047e38c74a" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/bin/idea.sh" => "idean") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "idean" so that it doesn't conflict with intellij-idea. 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/ttyd-binary.rb: -------------------------------------------------------------------------------- 1 | class TtydBinary < Formula 2 | desc "Share your terminal over the web" 3 | homepage "https://github.com/tsl0922/ttyd" 4 | version "1.4.2" 5 | 6 | url "https://github.com/tsl0922/ttyd/releases/download/#{version}/ttyd_linux.x86_64" 7 | sha256 "c83cae84f3ea57678649a67f0d0fe6d185460d78204278282f3a09323929c052" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | chmod(0755, "#{libexec}/ttyd_linux.x86_64") 13 | bin.install_symlink("#{libexec}/ttyd_linux.x86_64" => "ttyd") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "ttyd". 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/wuzz-binary.rb: -------------------------------------------------------------------------------- 1 | class WuzzBinary < Formula 2 | desc "Interactive cli tool for HTTP inspection" 3 | homepage "https://github.com/asciimoo/wuzz" 4 | version "0.4.0" 5 | 6 | url "https://github.com/asciimoo/wuzz/releases/download/v#{version}/wuzz_linux_amd64" 7 | sha256 "5a1443e07a5a9b9bb813804290e87fdd27b544f4fe00ef95fe3b64e7b56459ec" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | chmod(0755, "#{libexec}/wuzz_linux_amd64") 13 | bin.install_symlink("#{libexec}/wuzz_linux_amd64" => "wuzz") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "wuzz". 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/insomnia.rb: -------------------------------------------------------------------------------- 1 | class Insomnia < Formula 2 | desc "Cross-platform HTTP and GraphQL Client." 3 | homepage "https://github.com/getinsomnia/insomnia" 4 | version "6.3.2" 5 | 6 | url "https://github.com/getinsomnia/insomnia/releases/download/v#{version}/insomnia-#{version}.tar.gz" 7 | sha256 "6ab8d6be575a79a75f39a7926eb485b6ab7f33f17dce51eefabddbef3c52417c" 8 | 9 | conflicts_with "insomnia-appimage" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/insomnia" => "insomnia") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "insomnia". 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/brave-laptop.rb: -------------------------------------------------------------------------------- 1 | class BraveLaptop < Formula 2 | desc "Brave browser for Desktop and Laptop computers running Windows, OSX, and Linux, based on muon." 3 | homepage "https://github.com/brave/browser-laptop" 4 | version "0.23.105" 5 | 6 | url "https://github.com/brave/browser-laptop/releases/download/v#{version}dev/Brave.tar.bz2" 7 | sha256 "658e76c7d48d0403c1df6ed192637af9d1a4b89d5aa0b3f8fa6b81291a3f514d" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/brave" => "brave") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "brave". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/dbdeployer.rb: -------------------------------------------------------------------------------- 1 | class Dbdeployer < Formula 2 | desc "A tool that deploys MySQL database servers easily." 3 | homepage "https://github.com/datacharmer/dbdeployer" 4 | version "1.4.0" 5 | 6 | url "https://github.com/datacharmer/dbdeployer/releases/download/#{version}/dbdeployer-#{version}.linux.tar.gz" 7 | sha256 "5065d1e7ee2ff89f2d568bf5075689a640915bb108a3559d82f405d264787d35" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/dbdeployer-#{version}.linux" => "dbdeployer") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "dbdeployer". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/electronic-qq.rb: -------------------------------------------------------------------------------- 1 | class ElectronicQq < Formula 2 | desc 'The electionic-QQ based on smart-qq & electronic-wechat written in Nodejs' 3 | homepage "https://github.com/arthurkiller/electronic-QQ" 4 | version "0.0.2" 5 | url "https://github.com/arthurkiller/electronic-QQ/releases/download/v#{version}/electronic-QQ-linux-x64.tar.gz" 6 | sha256 "400a9d92af29222f614c1313dbafa0325b9c011a4eb97ea09b3ccbe3903559ac" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/electronic-QQ" => "eqq") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "eqq". 16 | EOS 17 | end 18 | end 19 | 20 | -------------------------------------------------------------------------------- /Formula/brave-browser.rb: -------------------------------------------------------------------------------- 1 | class BraveBrowser < Formula 2 | desc "Next generation Brave browser for macOS, Windows, Linux, and eventually Android, based on Chromium." 3 | homepage "https://github.com/brave/brave-browser" 4 | version "0.57.18" 5 | 6 | url "https://github.com/brave/brave-browser/releases/download/v#{version}/brave-v#{version}-linux-x64.zip" 7 | sha256 "3bcff0a481b1b3f2ac19c2c0363d6b5ce0edfaa219cd0311ace53fbec25487fa" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/brave" => "brave") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "brave". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/dotnet-core-sdk-ubuntu-trusty.rb: -------------------------------------------------------------------------------- 1 | class DotnetCoreSdkUbuntuTrusty < Formula 2 | desc "ASP.NET Core is a new cross-platform version of ASP.NET that is designed for the cloud, and runs on Windows, Linux and Mac. This is the SDK download for Ubuntu 14.04 (Trusty)." 3 | homepage "https://www.microsoft.com/net/core" 4 | version "1.0.4" 5 | 6 | url "https://download.microsoft.com/download/E/7/8/E782433E-7737-4E6C-BFBF-290A0A81C3D7/dotnet-dev-ubuntu-x64.#{version}.tar.gz" 7 | sha256 "e3823b9f964d27d1434f0e52b93fb1b6a65e83fb275e01f65ecbe63a4242fbe5" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/dotnet") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/intellij-idea-ce-no-jdk.rb: -------------------------------------------------------------------------------- 1 | class IntellijIdeaCeNoJdk < Formula 2 | desc "The Most Intelligent Java IDE, community edition (without bundled JDK)." 3 | homepage "http://www.jetbrains.com/idea/" 4 | version "2018.1.4" 5 | url "https://download.jetbrains.com/idea/ideaIC-#{version}-no-jdk.tar.gz" 6 | sha256 "a31f0e08d718df6794e178e299cc41b16b62127d431a32b9a17568e7fb4b6c33" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/bin/idea.sh" => "ideacn") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "ideacn" so that it doesn't conflict with intellij-idea-ce. 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/lazygit-binary.rb: -------------------------------------------------------------------------------- 1 | class LazygitBinary < Formula 2 | desc "Simple terminal UI for git commands" 3 | homepage "https://github.com/jesseduffield/lazygit" 4 | version "0.2.1" 5 | 6 | url "https://github.com/jesseduffield/lazygit/releases/download/v#{version}/lazygit_#{version}_Linux_x86_64.tar.gz" 7 | sha256 "c227678e926dd4f4c3de324d203b57e8a9880e4b9aed21946b54410e97e82270" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | chmod(0755, "#{libexec}/lazygit") 13 | bin.install_symlink("#{libexec}/lazygit" => "lazygit") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "lazygit". 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/sqltabs.rb: -------------------------------------------------------------------------------- 1 | class Sqltabs < Formula 2 | desc "SQL Tabs is an open source cross platform desktop client for postgresql." 3 | homepage "http://www.sqltabs.com/" 4 | version "1.0.0" 5 | 6 | url "https://github.com/sasha-alias/sqltabs/releases/download/v1.0.0/sqltabs.linux.tar.gz" 7 | sha256 "67e15b5d8ed5e2baa176ac650b394c1f0fdeb6dc6e0e493f1ef3acc1569c1c82" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/sqltabs") 13 | end 14 | 15 | def caveats; <<~EOS 16 | This formula depends on libpq, you have to resolve this denpendency 17 | based on the linux distro you use. 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/vscode.rb: -------------------------------------------------------------------------------- 1 | class Vscode < Formula 2 | desc "VS Code is a new type of tool that combines the simplicity of a code editor with what developers need for their core edit-build-debug cycle. This is the stable version." 3 | homepage "https://code.visualstudio.com" 4 | version "1.33.1" 5 | 6 | url "https://vscode-update.azurewebsites.net/#{version}/linux-x64/stable" 7 | sha256 "fbf31a814755c54ff744a5da77b5652aa6963a1c3a365a6399cc65ef30935152" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/bin/code") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "code". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/dotnet-core-runtime-ubuntu-trusty.rb: -------------------------------------------------------------------------------- 1 | class DotnetCoreRuntimeUbuntuTrusty < Formula 2 | desc "ASP.NET Core is a new cross-platform version of ASP.NET that is designed for the cloud, and runs on Windows, Linux and Mac. This is the runtime download for Ubuntu 14.04 (Trusty)." 3 | homepage "https://www.microsoft.com/net/core" 4 | version "1.1.2" 5 | 6 | url "https://download.microsoft.com/download/D/7/A/D7A9E4E9-5D25-4F0C-B071-210CB8267943/dotnet-ubuntu-x64.#{version}.tar.gz" 7 | sha256 "9032e88d43d28004ac10618ef0abac502cdeb02228297d1b51dd67c7e40cd3d1" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/dotnet") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/dotnet-core-sdk-ubuntu-xenial.rb: -------------------------------------------------------------------------------- 1 | class DotnetCoreSdkUbuntuXenial < Formula 2 | desc "ASP.NET Core is a new cross-platform version of ASP.NET that is designed for the cloud, and runs on Windows, Linux and Mac. This is the SDK download for Ubuntu 16.04 (Xenial)." 3 | homepage "https://www.microsoft.com/net/core" 4 | version "1.0.4" 5 | 6 | url "https://download.microsoft.com/download/E/7/8/E782433E-7737-4E6C-BFBF-290A0A81C3D7/dotnet-dev-ubuntu.16.04-x64.#{version}.tar.gz" 7 | sha256 "6fb4ec609b00bd65881f864249741d6486ba19da5b76cfcb60d03df8799b6ab7" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/dotnet") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/free-file-sync.rb: -------------------------------------------------------------------------------- 1 | class FreeFileSync < Formula 2 | desc "Open source file synchronization." 3 | homepage "https://freefilesync.org" 4 | version "10.16" 5 | 6 | url "https://freefilesync.org/download/FreeFileSync_#{version}_Linux.tar.gz" 7 | sha256 "A7C7178F7163C4039DD01E12C2BDC2282E44CBC46072142B72CF03FD8651C4D2" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/FreeFileSync" => "FreeFileSync") 13 | bin.install_symlink("#{libexec}/RealTimeSync" => "RealTimeSync") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "FreeFileSync" and "RealTimeSync". 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/rocketchat-desktop.rb: -------------------------------------------------------------------------------- 1 | class RocketchatDesktop < Formula 2 | desc "Official OSX, Windows, and Linux Desktop Clients for Rocket.Chat" 3 | homepage "https://github.com/RocketChat/Rocket.Chat.Electron" 4 | version "2.15.3" 5 | 6 | url "https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/#{version}/rocketchat-#{version}.tar.gz" 7 | sha256 "eb36b5b63882467662d8f29fec6e56f5b51d400fa44f68c7d87381a99ebd4908" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/rocketchat-desktop") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "rocketchat-desktop". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/clash-for-windows.rb: -------------------------------------------------------------------------------- 1 | class ClashForWindows < Formula 2 | desc "A Windows/macOS/Linux GUI based on Clash and Electron" 3 | homepage "https://github.com/Fndroid/clash_for_windows_pkg" 4 | version "0.19.14" 5 | 6 | url "https://github.com/Fndroid/clash_for_windows_pkg/releases/download/#{version}/Clash.for.Windows-#{version}-x64-linux.tar.gz" 7 | sha256 "b0be6a36830ab18ee1545c5e997626736725abf7a1fe46b5c01343c028c6e512" 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink("#{libexec}/cfw" => "clash-for-windows") 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "clash-for-windows". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/dotnet-core-runtime-ubuntu-xenial.rb: -------------------------------------------------------------------------------- 1 | class DotnetCoreRuntimeUbuntuXenial < Formula 2 | desc "ASP.NET Core is a new cross-platform version of ASP.NET that is designed for the cloud, and runs on Windows, Linux and Mac. This is the runtime download for Ubuntu 16.04 (Xenial)." 3 | homepage "https://www.microsoft.com/net/core" 4 | version "1.1.2" 5 | 6 | url "https://download.microsoft.com/download/D/7/A/D7A9E4E9-5D25-4F0C-B071-210CB8267943/dotnet-ubuntu.16.04-x64.#{version}.tar.gz" 7 | sha256 "c003ccc3942e327aed42c395bdcfacfc703f5adc5ec69246588a8aaab52b1513" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/dotnet") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/microsoft-teams.rb: -------------------------------------------------------------------------------- 1 | require "language/node" 2 | 3 | class MicrosoftTeams < Formula 4 | desc "Unofficial Microsoft Teams for Linux client" 5 | homepage "https://github.com/ivelkov/teams-for-linux" 6 | version "0.0.5" 7 | url "https://github.com/ivelkov/teams-for-linux/releases/download/v#{version}/teams-for-linux-#{version}.tar.gz" 8 | sha256 "9b7b14e65b18f9d0396d2367999d67cd0a87412169407e7350e2b463a9f9ef5d" 9 | head "https://github.com/ivelkov/teams-for-linux.git" 10 | 11 | 12 | def install 13 | libexec.install Dir["*"] 14 | bin.install_symlink("#{libexec}/teams" => "teams") 15 | end 16 | 17 | def caveats; <<~EOS 18 | Executable is linked as "teams". 19 | EOS 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /Formula/spring-tool-suite.rb: -------------------------------------------------------------------------------- 1 | class SpringToolSuite < Formula 2 | desc "The next generation of Spring tooling for your favorite coding environment." 3 | homepage "https://spring.io/tools" 4 | version "4.2.0" 5 | 6 | url "https://download.springsource.com/release/STS4/4.2.0.RELEASE/dist/e4.11/spring-tool-suite-4-4.2.0.RELEASE-e4.11.0-linux.gtk.x86_64.tar.gz" 7 | sha256 "1389c83a039eb2eba4d5a378bab5c9abdf677e5dc88a47512b9058deb90ed788" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/SpringToolSuite4" => "sts") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "sts". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/dotnet-core-runtime-lts-ubuntu-trusty.rb: -------------------------------------------------------------------------------- 1 | class DotnetCoreRuntimeLtsUbuntuTrusty < Formula 2 | desc "ASP.NET Core is a new cross-platform version of ASP.NET that is designed for the cloud, and runs on Windows, Linux and Mac. This is the LTS runtime download for Ubuntu 14.04 (Trusty)." 3 | homepage "https://www.microsoft.com/net/core" 4 | version "1.0.5" 5 | 6 | url "https://download.microsoft.com/download/2/4/A/24A06858-E8AC-469B-8AE6-D0CEC9BA982A/dotnet-ubuntu-x64.#{version}.tar.gz" 7 | sha256 "860a22f2adc783a1ab10cb373109682d32435c76b9045bc9966d097512bec937" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/dotnet") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/komodo-edit.rb: -------------------------------------------------------------------------------- 1 | class KomodoEdit < Formula 2 | desc "A fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform." 3 | homepage "https://github.com/Komodo/KomodoEdit" 4 | version "11.1.0" 5 | 6 | url "https://downloads.activestate.com/Komodo/releases/#{version}/Komodo-Edit-#{version}-18196-linux-x86_64.tar.gz" 7 | sha256 "f68a87a0d8c486a749c97de2d64fc07a633e7b32d13b685b18824caae9908bd0" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/INSTALLDIR/bin/komodo" => "komodo") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable linked as "komodo". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/azul-zulu-jdk.rb: -------------------------------------------------------------------------------- 1 | class AzulZuluJdk < Formula 2 | desc "Zulu Builds of OpenJDK" 3 | homepage "https://www.azul.com/downloads/zulu" 4 | version "11.2.3" 5 | 6 | url "https://cdn.azul.com/zulu/bin/zulu11.2.3-jdk11.0.1-linux_x64.tar.gz" 7 | sha256 "232b1c3511f0d26e92582b7c3cc363be7ac633e371854ca2f2e9f2b50eb72a75" 8 | 9 | 10 | conflicts_with "oracle-jdk-lts", :because => "both install java binaries" 11 | conflicts_with "sap-machine-jdk", :because => "both install java binaries" 12 | conflicts_with "amazon-corretto@8", :because => "both install java binaries" 13 | 14 | def install 15 | libexec.install Dir["*"] 16 | bin.install_symlink Dir["#{libexec}/bin/*"] 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/dnscrypt-proxy-binary.rb: -------------------------------------------------------------------------------- 1 | class DnscryptProxyBinary < Formula 2 | desc "A flexible DNS proxy, with support for encrypted DNS protocols." 3 | homepage "https://github.com/jedisct1/dnscrypt-proxy https://dnscrypt.info/" 4 | version "2.0.7" 5 | 6 | url "https://github.com/jedisct1/dnscrypt-proxy/releases/download/#{version}/dnscrypt-proxy-linux_x86_64-#{version}.tar.gz" 7 | sha256 "109a9b2f08b2f3f9f68ef62fed3a20a5e05b84415d02c00ad4086a2401041b53" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/dnscrypt-proxy") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable linked as "dnscrypt-proxy". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/dotnet-core-runtime-lts-ubuntu-xenial.rb: -------------------------------------------------------------------------------- 1 | class DotnetCoreRuntimeLtsUbuntuXenial < Formula 2 | desc "ASP.NET Core is a new cross-platform version of ASP.NET that is designed for the cloud, and runs on Windows, Linux and Mac. This is the LTS runtime download for Ubuntu 16.04 (Xenial)." 3 | homepage "https://www.microsoft.com/net/core" 4 | version "1.0.5" 5 | 6 | url "https://download.microsoft.com/download/D/7/A/D7A9E4E9-5D25-4F0C-B071-210CB8267943/dotnet-ubuntu.16.04-x64.#{version}.tar.gz" 7 | sha256 "cec3ed3464a0982b92d92d46088039f302c5b861c8dd13db90d2d99eb9e7fa96" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/dotnet") 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /Formula/lazydocker-binary.rb: -------------------------------------------------------------------------------- 1 | class LazydockerBinary < Formula 2 | desc "The lazier way to manage everything docker" 3 | homepage "https://github.com/jesseduffield/lazydocker" 4 | version "0.2.4" 5 | 6 | url "https://github.com/jesseduffield/lazydocker/releases/download/v#{version}/lazydocker_#{version}_Linux_x86_64.tar.gz" 7 | sha256 "1c56854f2158f0c5193d7ddfb2396a08296ccac3bfd58db2f67eadbaca794a2d" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | chmod(0755, "#{libexec}/lazydocker") 13 | bin.install_symlink("#{libexec}/lazydocker" => "lazydocker") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "lazydocker". 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/ffmpeg-binary.rb: -------------------------------------------------------------------------------- 1 | class FfmpegBinary < Formula 2 | desc "FFmpeg Static Builds." 3 | homepage "https://www.johnvansickle.com/ffmpeg/" 4 | version "3.2" 5 | 6 | url "https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz" 7 | sha256 "b5392ef2ec8909d2fb9d8dbd551ba3d5929511b0f7058f560fe3db13896777ca" 8 | 9 | conflicts_with "ffmpeg" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/ffmpeg") 14 | bin.install_symlink("#{libexec}/ffmpeg-10bit") 15 | bin.install_symlink("#{libexec}/ffprobe") 16 | bin.install_symlink("#{libexec}/ffserver") 17 | bin.install_symlink("#{libexec}/qt-faststart") 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/ngrok.rb: -------------------------------------------------------------------------------- 1 | class Ngrok < Formula 2 | desc "expose a local server behind a NAT or firewall to the internet" 3 | homepage "https://ngrok.com" 4 | version "2.2.8" 5 | 6 | url "https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-#{version}-linux-amd64.zip" 7 | sha256 "1761f150c5e1d210e8148a863441af4bf0f0ae413d205fdb3ce9db4a3454d504" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/ngrok" => "ngrok") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "ngrok". 17 | For more usage information, see "ngrok help". 18 | EOS 19 | end 20 | 21 | test do 22 | assert_equal "ngrok version #{version}\n", shell_output("#{bin}/ngrok version") 23 | end 24 | end 25 | -------------------------------------------------------------------------------- /Formula/vscodium.rb: -------------------------------------------------------------------------------- 1 | class Vscodium < Formula 2 | desc "Binary releases of VS Code without MS branding/telemetry/licensing." 3 | homepage "https://github.com/VSCodium/vscodium" 4 | version "1.33.1" 5 | 6 | url "https://github.com/VSCodium/vscodium/releases/download/#{version}/VSCodium-linux-x64-#{version}.tar.gz" 7 | sha256 "ff90d3541627e380afc7026c0ec9b451510a9440e457c951c8a3e3261aefb017" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/bin/vscodium") 13 | bin.install_symlink("#{libexec}/bin/vscodium" => "vsc") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "vscodium" and "vsc". 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/electronic-wechat.rb: -------------------------------------------------------------------------------- 1 | class ElectronicWechat < Formula 2 | desc "The Most Intelligent Java IDE, community editionA better WeChat on macOS and Linux. Built with Electron by Zhongyi Tong." 3 | homepage "https://github.com/geeeeeeeeek/electronic-wechat" 4 | version "2.0" 5 | url "https://github.com/geeeeeeeeek/electronic-wechat/releases/download/V#{version}/linux-x64.tar.gz" 6 | sha256 "e4922c16c8a283597698ffdd827347398cee80cb93580b8b3aa8d618e03b355c" 7 | 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | bin.install_symlink({"#{libexec}/electronic-wechat" => "ewechat"}) 12 | end 13 | 14 | def caveats; <<~EOS 15 | Executable is linked as "ewechat". 16 | EOS 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/go-tun2socks.rb: -------------------------------------------------------------------------------- 1 | class GoTun2socks < Formula 2 | desc "A tun2socks implementation written in Go." 3 | homepage "https://github.com/eycorsican/go-tun2socks" 4 | version "1.8" 5 | 6 | url "https://github.com/eycorsican/go-tun2socks/releases/download/v#{version}/tun2socks-linux-amd64.zip" 7 | sha256 "0ff181a36997ae7ea4d0c5b1513f6cf64dfad58b20f10cd50081187227694986" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | chmod(0755, "#{libexec}/build/tun2socks-linux-amd64") 13 | bin.install_symlink("#{libexec}/build/tun2socks-linux-amd64" => "go-tun2socks") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "go-tun2socks". 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/vscode-insiders.rb: -------------------------------------------------------------------------------- 1 | class VscodeInsiders < Formula 2 | desc "VS Code is a new type of tool that combines the simplicity of a code editor with what developers need for their core edit-build-debug cycle. This is the insiders version." 3 | homepage "https://code.visualstudio.com/insiders" 4 | version "1.34.20" 5 | 6 | url "https://vscode-update.azurewebsites.net/#{version}/linux-x64/insider" 7 | sha256 "a3f2716151d0ef38809afad7f06700885d397c619a0789509ab58664d2d4cca8" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/bin/code-insiders") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "code-insiders". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/electron-ssr.rb: -------------------------------------------------------------------------------- 1 | class ElectronSsr < Formula 2 | desc "Shadowsocksr client using electron" 3 | homepage "https://github.com/erguotou520/electron-ssr" 4 | version "0.2.4" 5 | 6 | url "https://github.com/erguotou520/electron-ssr/releases/download/v#{version}/electron-ssr-#{version}.tar.gz" 7 | sha256 "9252536da44ef1cb61a65e3ee6f5ffb330c885f403f6d4eddf55a59a49be17bf" 8 | 9 | conflicts_with "electron-ssr-appimage", :because => "both install `electron-ssr` binary" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/electron-ssr" => "electron-ssr") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "electron-ssr". 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/go-proxy.rb: -------------------------------------------------------------------------------- 1 | class GoProxy < Formula 2 | desc "A high performance HTTP(S), websocket, TCP, UDP,Secure DNS, Socks5 proxy server implemented by golang. Supports chain-style proxies,nat forwarding in different lan,TCP/UDP port forwarding, SSH forwarding." 3 | homepage "https://github.com/snail007/goproxy" 4 | version "7.4" 5 | 6 | url "https://github.com/snail007/goproxy/releases/download/v#{version}/proxy-linux-amd64.tar.gz" 7 | sha256 "ee792dc9851f670da08225c8cb2749720708bd5eebab3a73fdc66708e5dd5efe" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/proxy" => "goproxy") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable linked as "goproxy". 17 | EOS 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/signal-cli.rb: -------------------------------------------------------------------------------- 1 | class SignalCli < Formula 2 | desc 'signal-cli (formerly textsecure-cli) provides a commandline and dbus interface for WhisperSystems/libsignal-service-java' 3 | homepage "https://github.com/AsamK/signal-cli" 4 | version "0.5.6" 5 | 6 | url "https://github.com/AsamK/signal-cli/releases/download/v#{version}/signal-cli-#{version}.tar.gz" 7 | sha256 "38008a01328e01056cea5470c2e61a2cacbfe5e98d711a9d4d99f5a0c0c13385" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/bin/signal-cli" => "signal-cli") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "signal-cli". 17 | For more usage information, see "signal-cli --help". 18 | EOS 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /Formula/amazon-corretto@8.rb: -------------------------------------------------------------------------------- 1 | class AmazonCorrettoAT8 < Formula 2 | desc "A no-cost, multi-platform, production-ready distribution of OpenJDK8" 3 | homepage "https://github.com/corretto/corretto-8" 4 | version "8.202.08.2" 5 | 6 | url "https://d2znqt9b1bc64u.cloudfront.net/amazon-corretto-#{version}-linux-x64.tar.gz" 7 | sha256 "c19a928687479e1036ff1d6e023975402d2f027d9b3e4d64cfaf0c9f35bf9669" 8 | 9 | 10 | conflicts_with "azul-zulu-jdk", :because => "both install java binaries" 11 | conflicts_with "sap-machine-jdk", :because => "both install java binaries" 12 | conflicts_with "oracle-jdk-lts", :because => "both install java binaries" 13 | 14 | def install 15 | libexec.install Dir["*"] 16 | bin.install_symlink Dir["#{libexec}/bin/*"] 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/browsh-binary.rb: -------------------------------------------------------------------------------- 1 | class BrowshBinary < Formula 2 | desc "A fully-modern text-based browser, rendering to TTY and browsers." 3 | homepage "https://github.com/browsh-org/browsh https://www.brow.sh" 4 | version "1.6.4" 5 | 6 | url "https://github.com/browsh-org/browsh/releases/download/v#{version}/browsh_#{version}_linux_amd64" 7 | sha256 "d0bbdfe07e1494bb097dcff6290f17f98f6e3e5546f17139223b75d97c1caab5" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | mv("#{libexec}/browsh_#{version}_linux_amd64", "#{libexec}/browsh") 13 | chmod(0755, "#{libexec}/browsh") 14 | bin.install_symlink("#{libexec}/browsh") 15 | end 16 | 17 | def caveats; <<~EOS 18 | You need Firefox 57 or newer to run Browsh 19 | EOS 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /Formula/httpie-go.rb: -------------------------------------------------------------------------------- 1 | class HttpieGo < Formula 2 | desc "httpie-like HTTP client written in Go." 3 | homepage "https://github.com/nojima/httpie-go" 4 | version "0.7.0" 5 | 6 | url "https://github.com/nojima/httpie-go/releases/download/v#{version}/httpie-go_linux_amd64" 7 | sha256 "8dbc2ec159dbb6b75922ef4553b9ff56d6cd84a2f4124c75180096311dc52192" 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | mv("#{libexec}/httpie-go_linux_amd64", "#{libexec}/httpg") 12 | chmod(0755, "#{libexec}/httpg") 13 | bin.install_symlink("#{libexec}/httpg" => "httpg") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "httpg". 18 | EOS 19 | end 20 | 21 | test do 22 | system "#{bin}/httpg", "--version" 23 | end 24 | end 25 | -------------------------------------------------------------------------------- /Formula/julia-binary.rb: -------------------------------------------------------------------------------- 1 | class JuliaBinary < Formula 2 | desc "The Julia programming language" 3 | homepage "https://julialang.org" 4 | version "1.5.0" 5 | 6 | option "with-bfsu-mirror", "Download from https://mirrors.bfsu.edu.cn, use this option if you're in mainland China for a faster downloading speed." 7 | 8 | if build.with? "bfsu-mirror" 9 | url "https://mirrors.bfsu.edu.cn/julia-releases/bin/linux/x64/1.5/julia-1.5.0-linux-x86_64.tar.gz" 10 | else 11 | url "https://julialang-s3.julialang.org/bin/linux/x64/1.5/julia-1.5.0-linux-x86_64.tar.gz" 12 | end 13 | 14 | sha256 "be7af676f8474afce098861275d28a0eb8a4ece3f83a11027e3554dcdecddb91" 15 | 16 | 17 | def install 18 | libexec.install Dir["*"] 19 | bin.install_symlink Dir["#{libexec}/bin/*"] 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /Formula/mitmproxy-binary.rb: -------------------------------------------------------------------------------- 1 | class MitmproxyBinary < Formula 2 | desc "An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers." 3 | homepage "https://github.com/mitmproxy/mitmproxy" 4 | version "4.0.4" 5 | 6 | url "https://snapshots.mitmproxy.org/#{version}/mitmproxy-#{version}-linux.tar.gz" 7 | sha256 "382c675a439afa97338f5971946cd6fc7b1648350dc9af16aac39884efaa6494" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/mitmproxy") 13 | bin.install_symlink("#{libexec}/mitmweb") 14 | bin.install_symlink("#{libexec}/mitmdump") 15 | end 16 | 17 | def caveats; <<~EOS 18 | Executables are linked as "mitmproxy", "mitmweb", "mitmdump". 19 | EOS 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /Formula/sap-machine-jdk.rb: -------------------------------------------------------------------------------- 1 | class SapMachineJdk < Formula 2 | desc "An OpenJDK release maintained and supported by SAP" 3 | homepage "https://github.com/SAP/SapMachine" 4 | version "11.0.1.13" 5 | 6 | url "https://github.com/SAP/SapMachine/releases/download/sapmachine-11.0.1%2B13-0/sapmachine-jdk-11.0.1.13_linux-x64_bin.tar.gz" 7 | sha256 "41d70861c71d33ed437d28f3aaa0a22543b83271c35b7910cd8613961dee3d2f" 8 | 9 | 10 | conflicts_with "oracle-jdk-lts", :because => "both install java binaries" 11 | conflicts_with "azul-zulu-jdk", :because => "both install java binaries" 12 | conflicts_with "amazon-corretto@8", :because => "both install java binaries" 13 | 14 | def install 15 | libexec.install Dir["*"] 16 | bin.install_symlink Dir["#{libexec}/bin/*"] 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Formula/librefox.rb: -------------------------------------------------------------------------------- 1 | class Librefox < Formula 2 | desc "Firefox with privacy enhancements." 3 | homepage "https://github.com/intika/Librefox" 4 | version "2.1" 5 | 6 | url "https://github.com/intika/Librefox/releases/download/Librefox-v#{version}-v64.0.0/Librefox-#{version}-Firefox-Linux-60.4.0-x64-ESR.tar.xz" 7 | sha256 "29b7825de5364c467f0383208374519b8881d3097129328328651a697479a553" 8 | 9 | 10 | conflicts_with "librefox-esr", :because => "both install `librefox` binary" 11 | 12 | def install 13 | libexec.install Dir["*"] 14 | bin.install_symlink("#{libexec}/firefox" => "librefox") 15 | end 16 | 17 | def caveats; <<~EOS 18 | Executable is linked as "librefox". 19 | For more usage information, see "librefox --help". 20 | EOS 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /Formula/librefox-esr.rb: -------------------------------------------------------------------------------- 1 | class LibrefoxEsr < Formula 2 | desc "Firefox with privacy enhancements, ESR version." 3 | homepage "https://github.com/intika/Librefox" 4 | version "2.1" 5 | 6 | url "https://github.com/intika/Librefox/releases/download/Librefox-v#{version}-v64.0.0/Librefox-#{version}-Firefox-Linux-64.0.0-x64.tar.xz" 7 | sha256 "0ad576311da91732c6219f79b8d1e0ea97c76ac8065768878de5d80f26bd8b09" 8 | 9 | 10 | conflicts_with "librefox", :because => "both install `librefox` binary" 11 | 12 | def install 13 | libexec.install Dir["*"] 14 | bin.install_symlink("#{libexec}/firefox" => "librefox") 15 | end 16 | 17 | def caveats; <<~EOS 18 | Executable is linked as "librefox". 19 | For more usage information, see "librefox --help". 20 | EOS 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /Formula/docker-compose-binary.rb: -------------------------------------------------------------------------------- 1 | class DockerComposeBinary < Formula 2 | desc "Isolated development environments using Docker." 3 | homepage "https://github.com/docker/compose" 4 | version "1.23.1" 5 | 6 | url "https://github.com/docker/compose/releases/download/#{version}/docker-compose-Linux-x86_64" 7 | sha256 "c176543737b8aea762022245f0f4d58781d3cb1b072bc14f3f8e5bb96f90f1a2" 8 | 9 | conflicts_with "docker-compose" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | mv("#{libexec}/docker-compose-Linux-x86_64", "#{libexec}/docker-compose") 14 | chmod(0755, "#{libexec}/docker-compose") 15 | bin.install_symlink("#{libexec}/docker-compose") 16 | end 17 | 18 | def caveats; <<~EOS 19 | Executable is linked as "docker-compose". 20 | EOS 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /Formula/docker-machine-binary.rb: -------------------------------------------------------------------------------- 1 | class DockerMachineBinary < Formula 2 | desc "Machine management for a container-centric world" 3 | homepage "https://github.com/docker/machine" 4 | version "0.16.0" 5 | 6 | url "https://github.com/docker/machine/releases/download/v#{version}/docker-machine-Linux-x86_64" 7 | sha256 "3d2cae5f66df636116153c8a96310c0cdef0060b1ecfe86116cec825bbf393d8" 8 | 9 | conflicts_with "docker-machine" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | mv("#{libexec}/docker-machine-Linux-x86_64", "#{libexec}/docker-machine") 14 | chmod(0755, "#{libexec}/docker-machine") 15 | bin.install_symlink("#{libexec}/docker-machine" => "docker-machine") 16 | end 17 | 18 | def caveats; <<~EOS 19 | Executable is linked as "docker-machine". 20 | EOS 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /Formula/firefox.rb: -------------------------------------------------------------------------------- 1 | class Firefox < Formula 2 | desc "The 100% fresh, free-range, ethical browser, with more speed, privacy and freedom. This is the stable version, in en-US." 3 | homepage "https://www.mozilla.org/en-US/firefox/all/" 4 | version "63.0.3" 5 | 6 | url "https://download-installer.cdn.mozilla.net/pub/firefox/releases/#{version}/linux-x86_64/en-US/firefox-#{version}.tar.bz2" 7 | sha256 "0273b63e8bd2901fef31971f0e422e943e04ea86f647e175473bfc668e326bbd" 8 | 9 | conflicts_with "firefox-zhcn" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/firefox" => "firefox-browser") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "firefox-browser". 18 | For more usage information, see "firefox-browser --help". 19 | EOS 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /Formula/freenet.rb: -------------------------------------------------------------------------------- 1 | class Freenet < Formula 2 | desc "P2P platform for censorship-resistant communication & publishing" 3 | homepage "https://freenetproject.org" 4 | url "https://github.com/freenet/fred/releases/download/build01479/new_installer_offline_1479.jar" 5 | sha256 "b630cc310987cd225d5250061abb0e72bc19c5ae3b0870c73a979cafea872760" 6 | 7 | 8 | depends_on "openjdk" 9 | 10 | def install 11 | (buildpath/"__FreeNetinstall__").write "INSTALL_PATH=#{libexec}" 12 | 13 | system "java", "-jar", "new_installer_offline_#{version}.jar", "-options", "__FreeNetinstall__" 14 | 15 | bin.install_symlink libexec/"run.sh" => "freenet" 16 | end 17 | 18 | def caveats 19 | "run wrapper script symlinked to #{bin}/freenet" 20 | end 21 | 22 | test do 23 | assert_match "Freenet 0.7 is running", shell_output("#{bin}/freenet status", 0) 24 | end 25 | end 26 | -------------------------------------------------------------------------------- /Formula/firefox-esr.rb: -------------------------------------------------------------------------------- 1 | class FirefoxEsr < Formula 2 | desc "The 100% fresh, free-range, ethical browser, with more speed, privacy and freedom. This is the ESR version, in en-US." 3 | homepage "https://www.mozilla.org/en-US/firefox/organizations/all/" 4 | version "52.5.0" 5 | 6 | url "https://download-installer.cdn.mozilla.net/pub/firefox/releases/#{version}esr/linux-x86_64/en-US/firefox-#{version}esr.tar.bz2" 7 | sha256 "234a8debdbdb3a715708aa2d4f9844811e7b416a442d072dcc28867442a066f3" 8 | 9 | conflicts_with "firefox-esr-zhcn" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/firefox" => "firefox-esr") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "firefox-esr". 18 | For more usage information, see "firefox-esr --help". 19 | EOS 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /Formula/android-cli-tools.rb: -------------------------------------------------------------------------------- 1 | class AndroidCliTools < Formula 2 | desc "Android command line tools (when you don't need Android Studio)." 3 | homepage "https://developer.android.com/studio/" 4 | version "4333796" 5 | 6 | url "https://dl.google.com/android/repository/sdk-tools-linux-#{version}.zip" 7 | sha256 "92ffee5a1d98d856634e8b71132e8a95d96c83a63fde1099be3d86df3106def9" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/android" => "android") 13 | bin.install_symlink("#{libexec}/emulator" => "emulator") 14 | bin.install_symlink("#{libexec}/emulator-check" => "emulator-check") 15 | bin.install_symlink("#{libexec}/mksdcard" => "mksdcard") 16 | bin.install_symlink("#{libexec}/monitor" => "monitor") 17 | bin.install_symlink Dir["#{libexec}/bin/*"] 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Formula/firefox-beta.rb: -------------------------------------------------------------------------------- 1 | class FirefoxBeta < Formula 2 | desc "The 100% fresh, free-range, ethical browser, with more speed, privacy and freedom. This is the beta version, in en-US." 3 | homepage "https://www.mozilla.org/en-US/firefox/beta/all/" 4 | version "58.0" 5 | 6 | url "https://download-installer.cdn.mozilla.net/pub/firefox/releases/58.0b8/linux-x86_64/en-US/firefox-58.0b8.tar.bz2" 7 | sha256 "0a649eef8e7075660ccf2c571c1c1989782b3384f732970a727115586d5833f5" 8 | 9 | conflicts_with "firefox-beta-zhcn" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/firefox" => "firefox-browser-beta") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "firefox-browser-beta". 18 | For more usage information, see "firefox-browser-beta --help". 19 | EOS 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /Formula/firefox-dev.rb: -------------------------------------------------------------------------------- 1 | class FirefoxDev < Formula 2 | desc "The 100% fresh, free-range, ethical browser, with more speed, privacy and freedom. This is the developer version, in en-US." 3 | homepage "https://www.mozilla.org/en-US/firefox/developer/all/" 4 | version "58.0" 5 | 6 | url "https://download-installer.cdn.mozilla.net/pub/devedition/releases/58.0b8/linux-x86_64/en-US/firefox-58.0b8.tar.bz2" 7 | sha256 "3b4f80760f18a80379a3c6bb2137d5927f0acbe97d463b070c9a19901499f748" 8 | 9 | conflicts_with "firefox-dev-zhcn" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/firefox" => "firefox-browser-dev") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "firefox-browser-dev". 18 | For more usage information, see "firefox-browser-dev --help". 19 | EOS 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /Formula/firefox-zhcn.rb: -------------------------------------------------------------------------------- 1 | class FirefoxZhcn < Formula 2 | desc "The 100% fresh, free-range, ethical browser, with more speed, privacy and freedom. This is the stable version, in zh-CN (Chinese (Simplified), i.e. 中文 (简体))." 3 | homepage "https://www.mozilla.org/zh-CN/firefox/all/" 4 | version "57.0.1" 5 | 6 | url "https://download-installer.cdn.mozilla.net/pub/firefox/releases/#{version}/linux-x86_64/zh-CN/firefox-#{version}.tar.bz2" 7 | sha256 "c29fcb214607726d9d8958927f2840d9407ce18d457b0358ddca756a00679988" 8 | 9 | conflicts_with "firefox" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/firefox" => "firefox-browser") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "firefox-browser". 18 | For more usage information, see "firefox-browser --help". 19 | EOS 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /Formula/ungoogled-chromium.rb: -------------------------------------------------------------------------------- 1 | class UngoogledChromium < Formula 2 | desc "Google Chromium, sans integration with Google" 3 | homepage "https://github.com/Eloston/ungoogled-chromium" 4 | version "75.0.3770.10" 5 | 6 | url "https://github.com/Eloston/ungoogled-chromium-binaries/releases/download/75.0.3770.100-1.2/ungoogled-chromium_75.0.3770.100-1.2_linux.tar.xz" 7 | sha256 "5ac39f58152844ad2f8b19769a52f83c84544b257a93abc2fdfc3a4bf613f9b8" 8 | 9 | 10 | conflicts_with "ungoogled-chromium-appimage", :because => "both install chrome binaries" 11 | 12 | def install 13 | libexec.install Dir["*"] 14 | bin.install_symlink("#{libexec}/chrome" => "ungoogled-chromium") 15 | bin.install_symlink("#{libexec}/chrome" => "ugc") 16 | end 17 | 18 | def caveats; <<~EOS 19 | Executable linked as "ungoogled-chromium" or "ugc". 20 | EOS 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /Formula/firefox-esr-zhcn.rb: -------------------------------------------------------------------------------- 1 | class FirefoxEsrZhcn < Formula 2 | desc "The 100% fresh, free-range, ethical browser, with more speed, privacy and freedom. This is the ESR version, in zh-CN (Chinese (Simplified), i.e. 中文 (简体))." 3 | homepage "https://www.mozilla.org/zh-CN/firefox/organizations/all/" 4 | version "52.5.0" 5 | 6 | url "https://download-installer.cdn.mozilla.net/pub/firefox/releases/#{version}esr/linux-x86_64/zh-CN/firefox-#{version}esr.tar.bz2" 7 | sha256 "9155bf7546ffc31865ebdaf8f8a3961627ccfc1a829194ab6611f16b18668abe" 8 | 9 | conflicts_with "firefox-esr" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/firefox" => "firefox-esr") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "firefox-esr". 18 | For more usage information, see "firefox-esr --help". 19 | EOS 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /Formula/firefox-beta-zhcn.rb: -------------------------------------------------------------------------------- 1 | class FirefoxBetaZhcn < Formula 2 | desc "The 100% fresh, free-range, ethical browser, with more speed, privacy and freedom. This is the beta version, in zh-CN (Chinese (Simplified), i.e. 中文 (简体))." 3 | homepage "https://www.mozilla.org/zh-CN/firefox/beta/all/" 4 | version "58.0" 5 | 6 | url "https://download-installer.cdn.mozilla.net/pub/firefox/releases/58.0b8/linux-x86_64/zh-CN/firefox-58.0b8.tar.bz2" 7 | sha256 "ceacc67bd7db3dabc40fbcc65ccd615183ba1b68de863f5aab8208f9d1a2206a" 8 | 9 | conflicts_with "firefox-beta" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/firefox" => "firefox-browser-beta") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "firefox-browser-beta". 18 | For more usage information, see "firefox-browser-beta --help". 19 | EOS 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /Formula/firefox-dev-zhcn.rb: -------------------------------------------------------------------------------- 1 | class FirefoxDevZhcn < Formula 2 | desc "The 100% fresh, free-range, ethical browser, with more speed, privacy and freedom. This is the developer version, in zh-CN (Chinese (Simplified), i.e. 中文 (简体))." 3 | homepage "https://www.mozilla.org/zh-CN/firefox/developer/all/" 4 | version "58.0" 5 | 6 | url "https://download-installer.cdn.mozilla.net/pub/devedition/releases/58.0b8/linux-x86_64/zh-CN/firefox-58.0b8.tar.bz2" 7 | sha256 "9f76347abfdaa8643e75b9c691cfcbf64e2f358ff44eff6ed93ecc382d47596e" 8 | 9 | conflicts_with "firefox-dev" 10 | 11 | def install 12 | libexec.install Dir["*"] 13 | bin.install_symlink("#{libexec}/firefox" => "firefox-browser-dev") 14 | end 15 | 16 | def caveats; <<~EOS 17 | Executable is linked as "firefox-browser-dev". 18 | For more usage information, see "firefox-browser-dev --help". 19 | EOS 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /Formula/oracle-jdk-lts.rb: -------------------------------------------------------------------------------- 1 | class OracleJdkLts < Formula 2 | desc "Oracle Java Standard Edition Development Kit." 3 | homepage "https://www.oracle.com/technetwork/java/javase/overview/index.html" 4 | version "11.0.1.13" 5 | 6 | url "https://download.oracle.com/otn-pub/java/jdk/11.0.1+13/90cf5d8f270a4347a95050320eef3fb7/jdk-11.0.1_linux-x64_bin.tar.gz", 7 | cookies: { 8 | 'oraclelicense' => 'accept-securebackup-cookie', 9 | } 10 | 11 | sha256 "e7fd856bacad04b6dbf3606094b6a81fa9930d6dbb044bbd787be7ea93abc885" 12 | 13 | 14 | conflicts_with "azul-zulu-jdk", :because => "both install java binaries" 15 | conflicts_with "sap-machine-jdk", :because => "both install java binaries" 16 | conflicts_with "amazon-corretto@8", :because => "both install java binaries" 17 | 18 | def install 19 | libexec.install Dir["*"] 20 | bin.install_symlink Dir["#{libexec}/bin/*"] 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /Formula/lux-binary.rb: -------------------------------------------------------------------------------- 1 | class LuxBinary < Formula 2 | desc "Fast and simple video download library and CLI tool written in Go" 3 | homepage "https://github.com/iawia002/lux" 4 | version "0.12.0" 5 | 6 | url "https://github.com/iawia002/lux/releases/download/v#{version}/lux_#{version}_Linux_64-bit.tar.gz" 7 | sha256 "9800251b980a76b6a57f041947e7c7738c760e29894065d4df96edba09d3d79c" 8 | 9 | if Hardware::CPU.arm? 10 | url "https://github.com/iawia002/lux/releases/download/v#{version}/lux_#{version}_Linux_ARM64.tar.gz" 11 | sha256 "5721ab938c62d9199bc1a1721ab2939849dc35b089a179fc3ca7c3702babeb89" 12 | end 13 | 14 | conflicts_with "lux" 15 | 16 | def install 17 | libexec.install Dir["*"] 18 | chmod(0755, "#{libexec}/lux") 19 | bin.install_symlink("#{libexec}/lux" => "lux") 20 | end 21 | 22 | def caveats; <<~EOS 23 | Executable is linked as "lux". 24 | EOS 25 | end 26 | end 27 | -------------------------------------------------------------------------------- /Formula/zoom.rb: -------------------------------------------------------------------------------- 1 | class Zoom < Formula 2 | desc "Video Conferencing, Web Conferencing, Webinars, Screen Sharing" 3 | homepage "https://zoom.us" 4 | version "5.11.0.3540" 5 | 6 | url "https://zoom.us/client/#{version}/zoom_x86_64.tar.xz" 7 | sha256 "b7b812f151ab303a2ca1cff581c29298fde36c1664855221e4f511ae228fe502" 8 | 9 | def install 10 | libexec.install Dir["*"] 11 | (libexec/"zoom_brew_exec").write <<~EOS 12 | #!/usr/bin/env bash 13 | ZOOM_PATH=$(brew --prefix zoom)/libexec 14 | cd $ZOOM_PATH 15 | LD_LIBRARY_PATH=$ZOOM_PATH:$ZOOM_PATH/cef ./zoom 16 | EOS 17 | chmod(0755, "#{libexec}/zoom_brew_exec") 18 | bin.install_symlink("#{libexec}/zoom_brew_exec" => "zoom") 19 | end 20 | 21 | def caveats; <<~EOS 22 | You may need to install some dependencies like 'libxcb-xtest0'. 23 | Executable linked as "zoom". 24 | EOS 25 | end 26 | end 27 | 28 | -------------------------------------------------------------------------------- /Formula/node-binary.rb: -------------------------------------------------------------------------------- 1 | class NodeBinary < Formula 2 | desc "Platform built on the V8 JavaScript runtime to build network applications, binaries installation. This is the current version with latest features." 3 | homepage "https://nodejs.org/" 4 | version "9.0.0" 5 | 6 | option "with-taobao-mirror", "Download tarball from https://npm.taobao.org/mirrors/node/, use this option if you're in mainland China for a faster downloading speed." 7 | 8 | if build.with? "taobao-mirror" 9 | url "https://npm.taobao.org/mirrors/node/v#{version}/node-v#{version}-linux-x64.tar.xz" 10 | else 11 | url "https://nodejs.org/dist/v#{version}/node-v#{version}-linux-x64.tar.xz" 12 | end 13 | 14 | sha256 "8313d2f6d69dbea4cb860803a156f093041cbe352a843c06f9f05cab1f30e9cc" 15 | 16 | conflicts_with "node", "node-lts-binary" 17 | 18 | def install 19 | libexec.install Dir["*"] 20 | bin.install_symlink Dir["#{libexec}/bin/*"] 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /Formula/sublime-text-with-ime-fix.rb: -------------------------------------------------------------------------------- 1 | class SublimeTextWithImeFix < Formula 2 | desc "Sublime Text with IME (input method) fix, so that we can input with Fcitx." 3 | homepage "https://www.sublimetext.com/" 4 | version "3143" 5 | 6 | url "https://github.com/lyfeyaj/sublime-text-imfix/raw/master/lib/libsublime-imfix.so" 7 | sha256 "db44ddff21d8b2493576368ae01eba93624767fbcf5f062311383bb07bbaa176" 8 | 9 | depends_on "sublime-text" 10 | 11 | def install 12 | (libexec/"lib").install "libsublime-imfix.so" 13 | 14 | (bin/"subli").write <<~EOS 15 | #!/bin/sh 16 | export LD_PRELOAD=#{libexec}/lib/libsublime-imfix.so 17 | exec $(brew --prefix sublime-text)/bin/subl "$@" 18 | EOS 19 | end 20 | 21 | def caveats; <<~EOS 22 | Executable is linked as "subli", which is a customized shell script, 23 | with libsublime-imfix.so loaded as LD_PRELOAD. 24 | EOS 25 | end 26 | end 27 | -------------------------------------------------------------------------------- /Formula/shuttle.rb: -------------------------------------------------------------------------------- 1 | class Shuttle < Formula 2 | desc "A web proxy in Golang with amazing features" 3 | homepage "https://github.com/sipt/shuttle" 4 | version "0.6.0" 5 | 6 | url "https://github.com/sipt/shuttle/releases/download/alpha-v#{version}/shuttle_linux_amd64_alpha_v#{version}.zip" 7 | sha256 "7286dcf0cfe884e616d9743062624bc159e2f24e5e065076e83d285fd71383f5" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/shuttle" => "shuttle") 13 | 14 | (libexec/"start_shuttle").write <<~EOS 15 | #!/usr/bin/env bash 16 | cd $(brew --prefix shuttle)/libexec 17 | ./start.sh 18 | EOS 19 | 20 | chmod(0755, "#{libexec}/start_shuttle") 21 | bin.install_symlink("#{libexec}/start_shuttle" => "start_shuttle") 22 | end 23 | 24 | def caveats; <<~EOS 25 | Executable is linked as "shuttle" and "start_shuttle". 26 | EOS 27 | end 28 | end 29 | -------------------------------------------------------------------------------- /Formula/docker-ce-binary.rb: -------------------------------------------------------------------------------- 1 | class DockerCeBinary < Formula 2 | desc "Pack, ship and run any application as a lightweight container. This is the community edition." 3 | homepage "https://docs.docker.com/install/linux/docker-ce/binaries" 4 | version "19.03.5" 5 | 6 | option "with-cn-mirror", "Download from https://mirrors.aliyun.com/docker-ce, use this option if you're in mainland China for a faster downloading speed." 7 | 8 | if build.with? "cn-mirror" 9 | url "https://mirrors.aliyun.com/docker-ce/linux/static/stable/x86_64/docker-#{version}.tgz" 10 | else 11 | url "https://download.docker.com/linux/static/stable/x86_64/docker-#{version}.tgz" 12 | end 13 | 14 | sha256 "50cdf38749642ec43d6ac50f4a3f1f7f6ac688e8d8b4e1c5b7be06e1a82f06e9" 15 | 16 | conflicts_with "docker", :because => "both install `docker` binaries" 17 | 18 | def install 19 | libexec.install Dir["*"] 20 | bin.install_symlink Dir["#{libexec}/*"] 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /Formula/node-lts-binary.rb: -------------------------------------------------------------------------------- 1 | class NodeLtsBinary < Formula 2 | desc "Platform built on the V8 JavaScript runtime to build network applications, binaries installation. This is the LTS version and is recommended for most users." 3 | homepage "https://nodejs.org/" 4 | version "8.9.0" 5 | 6 | option "with-taobao-mirror", "Download tarball from https://npm.taobao.org/mirrors/node/, use this option if you're in mainland China for a faster downloading speed." 7 | 8 | if build.with? "taobao-mirror" 9 | url "https://npm.taobao.org/mirrors/node/v#{version}/node-v#{version}-linux-x64.tar.xz" 10 | else 11 | url "https://nodejs.org/dist/v#{version}/node-v#{version}-linux-x64.tar.xz" 12 | end 13 | 14 | sha256 "e92b91fa473f9ad805a1241907b6f1bd3f8ceac8426a8b4cb05428e62e243bdd" 15 | 16 | conflicts_with "node", "node-binary" 17 | 18 | def install 19 | libexec.install Dir["*"] 20 | bin.install_symlink Dir["#{libexec}/bin/*"] 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /Formula/telegram-desktop.rb: -------------------------------------------------------------------------------- 1 | class TelegramDesktop < Formula 2 | desc "Telegram, a new era of messaging." 3 | homepage "https://github.com/telegramdesktop/tdesktop" 4 | version "3.6.1" 5 | 6 | option "with-github", "Download installation file from github." 7 | 8 | if build.with? "github" 9 | url "https://github.com/telegramdesktop/tdesktop/releases/download/v#{version}/tsetup.#{version}.tar.xz" 10 | else 11 | url "https://updates.tdesktop.com/tlinux/tsetup.#{version}.tar.xz" 12 | end 13 | 14 | sha256 "a2a77622d205520826d4f585cf68d332d82fed53c4b12f6b6cb36dfbf5ccd5f8" 15 | 16 | def install 17 | libexec.install Dir["*"] 18 | bin.install_symlink("#{libexec}/Telegram" => "telegram") 19 | bin.install_symlink("#{libexec}/Updater" => "telegram-updater") 20 | end 21 | 22 | def caveats; <<~EOS 23 | Executable is linked as "telegram". 24 | Auto updater is linked as "telegram-updater". 25 | EOS 26 | end 27 | end 28 | -------------------------------------------------------------------------------- /Formula/atom.rb: -------------------------------------------------------------------------------- 1 | class Atom < Formula 2 | desc "A hackable text editor for the 21st Century." 3 | homepage "https://github.com/atom/atom" 4 | version "1.41.0" 5 | 6 | option "with-taobao-mirror", "Download tarball from https://npm.taobao.org/mirrors/atom/, use this option if you're in mainland China for a faster downloading speed." 7 | 8 | if build.with? "taobao-mirror" 9 | url "https://npm.taobao.org/mirrors/atom/#{version}/atom-amd64.tar.gz" 10 | else 11 | url "https://github.com/atom/atom/releases/download/v#{version}/atom-amd64.tar.gz" 12 | end 13 | 14 | sha256 "7f08e95d5b26e8608f351f725a09f8cb8b43935d111c32ea7ea5f92915ee3f9e" 15 | 16 | 17 | def install 18 | libexec.install Dir["*"] 19 | bin.install_symlink("#{libexec}/atom" => "atom") 20 | bin.install_symlink("#{libexec}/resources/app/apm/bin/apm" => "apm") 21 | end 22 | 23 | def caveats; <<~EOS 24 | Executable is linked as "atom" and "apm". 25 | EOS 26 | end 27 | end 28 | -------------------------------------------------------------------------------- /Formula/filezilla.rb: -------------------------------------------------------------------------------- 1 | class Filezilla < Formula 2 | desc "Full-featured graphical FTP/FTPS/SFTP client" 3 | homepage "https://filezilla-project.org/" 4 | version "3.31.0" 5 | 6 | url "https://download.filezilla-project.org/client/FileZilla_#{version}_x86_64-linux-gnu.tar.bz2" 7 | sha256 "324e7d02a7f5c49decff3df219ff6a4c0c7b912f622481767558f3c1f2a5738c" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | bin.install_symlink("#{libexec}/bin/filezilla" => "filezilla") 13 | end 14 | 15 | def caveats; <<~EOS 16 | Executable is linked as "filezilla". 17 | If you get error "libpng16.so.16: cannot open shared object file: No such file or directory" do next: 18 | sudo apt-get install libpng16-16 19 | If you get error "/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by filezilla)" do next: 20 | sudo add-apt-repository ppa:ubuntu-toolchain-r/test 21 | sudo apt-get update 22 | sudo apt-get dist-upgrade 23 | EOS 24 | end 25 | end 26 | -------------------------------------------------------------------------------- /Formula/clash-binary.rb: -------------------------------------------------------------------------------- 1 | class ClashBinary < Formula 2 | desc "A rule-based tunnel in Go." 3 | homepage "https://github.com/Dreamacro/clash" 4 | version "1.10.6" 5 | 6 | @@os = "linux" 7 | @@arch = "amd64" 8 | 9 | if Hardware::CPU.arm? 10 | @@arch = "armv8" 11 | end 12 | 13 | url "https://github.com/Dreamacro/clash/releases/download/v#{version}/clash-#{@@os}-#{@@arch}-v#{version}.gz" 14 | sha256 "a527fc55a4b19d6a84154ff91047c22cd9efc217fd12e7422007e1c2daa320c4" 15 | 16 | if Hardware::CPU.arm? 17 | sha256 "d435cad74a5ea9db0463ed082c597ad0e2c2a9d59d08186355edfaa608d19e5b" 18 | end 19 | 20 | def install 21 | libexec.install Dir["*"] 22 | mv("#{libexec}/clash-#{@@os}-#{@@arch}", "#{libexec}/clash") 23 | chmod(0755, "#{libexec}/clash") 24 | bin.install_symlink("#{libexec}/clash" => "clash") 25 | end 26 | 27 | def caveats; <<~EOS 28 | Executable is linked as "clash". 29 | EOS 30 | end 31 | 32 | test do 33 | system "#{bin}/clash", "-v" 34 | end 35 | end 36 | -------------------------------------------------------------------------------- /Formula/clash-premium-binary.rb: -------------------------------------------------------------------------------- 1 | class ClashPremiumBinary < Formula 2 | desc "A rule-based tunnel in Go (premium version)." 3 | homepage "https://github.com/Dreamacro/clash" 4 | version "2022.05.18" 5 | 6 | @@os = "linux" 7 | @@arch = "amd64" 8 | 9 | if Hardware::CPU.arm? 10 | @@arch = "armv8" 11 | end 12 | 13 | url "https://github.com/Dreamacro/clash/releases/download/premium/clash-#{@@os}-#{@@arch}-#{version}.gz" 14 | sha256 "8d21f95e08f0994388f8c7160965ae8f1e9ca4af356948d9d501cba8ee4c8fc2" 15 | 16 | if Hardware::CPU.arm? 17 | sha256 "0516a27b5664b64751233f67bbd7c2a53fd3e1bb30ffa4ad4cdd4073875af536" 18 | end 19 | 20 | def install 21 | libexec.install Dir["*"] 22 | mv("#{libexec}/clash-#{@@os}-#{@@arch}", "#{libexec}/clash-premium") 23 | chmod(0755, "#{libexec}/clash-premium") 24 | bin.install_symlink("#{libexec}/clash-premium" => "clash-premium") 25 | end 26 | 27 | def caveats; <<~EOS 28 | Executable is linked as "clash-premium". 29 | EOS 30 | end 31 | 32 | test do 33 | system "#{bin}/clash", "-v" 34 | end 35 | end 36 | -------------------------------------------------------------------------------- /Formula/teamviewer.rb: -------------------------------------------------------------------------------- 1 | class Teamviewer < Formula 2 | desc "Remote support, remote access, and online meeting software that the world relies on." 3 | homepage "http://www.teamviewer.com/" 4 | version "12.0.71510" 5 | 6 | url "https://download.teamviewer.com/download/teamviewer_i386.tar.xz" 7 | sha256 "6a0a35881f4b74bccfb90b721dbb60944a78b2db5a56d08693182b1a8ebd6d9d" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | (libexec/"teamviewer_brew_exec").write <<~EOS 13 | #!/usr/bin/env bash 14 | cd $(brew --prefix teamviewer)/libexec 15 | ./teamviewer 16 | EOS 17 | chmod(0755, "#{libexec}/teamviewer_brew_exec") 18 | bin.install_symlink("#{libexec}/teamviewer_brew_exec" => "teamviewer") 19 | end 20 | 21 | def caveats; <<~EOS 22 | Teamviewer is a 32-bit software, so if you want to use it 23 | in a 64-bit system, you have to install 32-bit shared libraries 24 | like dbus based on the linux distro you use otherwise you may eccounter errors like: 25 | "Cannot open shared object file: No such file or directory" 26 | EOS 27 | end 28 | end 29 | -------------------------------------------------------------------------------- /Formula/tor-browser.rb: -------------------------------------------------------------------------------- 1 | class TorBrowser < Formula 2 | desc "Modified Firefox with privacy add-ons, encryption & advanced proxy" 3 | homepage "https://www.torproject.org/projects/torbrowser.html.en" 4 | version "7.0.10" 5 | 6 | url "https://www.torproject.org/dist/torbrowser/#{version}/tor-browser-linux64-#{version}_en-US.tar.xz" 7 | sha256 "10eebffe22594d336441ed59e5edc97ba1d296eb7d94bca3ff94ebfac2da3e34" 8 | 9 | 10 | def install 11 | libexec.install Dir["*"] 12 | (libexec/"tor-browser_brew_exec").write <<~EOS 13 | #!/usr/bin/env bash 14 | cd #{libexec} 15 | ./start-tor-browser.desktop "$@" 16 | EOS 17 | chmod(0755, "#{libexec}/tor-browser_brew_exec") 18 | bin.install_symlink("#{libexec}/tor-browser_brew_exec" => "tor-browser") 19 | end 20 | 21 | def caveats; <<~EOS 22 | Executable is linked as "tor-browser". 23 | For more usage information, see "tor-browser --help". 24 | EOS 25 | end 26 | 27 | test do 28 | cd(libexec) do 29 | assert_equal "Launching './Browser/start-tor-browser --detach --verbose --version'...\nMozilla Firefox 52.5.0\n", shell_output("#{bin}/tor-browser --verbose --version 2>&1") 30 | end 31 | end 32 | end 33 | -------------------------------------------------------------------------------- /Formula/nwjs.rb: -------------------------------------------------------------------------------- 1 | class Nwjs < Formula 2 | desc "NW.js (previously known as node-webkit) lets you call all Node.js modules directly from DOM and enables a new way of writing applications with all Web technologies. This is the normal version." 3 | homepage "https://github.com/nwjs/nw.js" 4 | version "0.36.1" 5 | 6 | option "with-taobao-mirror", "Download tarball from https://npm.taobao.org/mirrors/nwjs/, use this option if you're in mainland China for a faster downloading speed." 7 | 8 | if build.with? "taobao-mirror" 9 | url "https://npm.taobao.org/mirrors/nwjs/v#{version}/nwjs-v#{version}-linux-x64.tar.gz" 10 | sha256 "031c0a5418e81dd1e16f861327fbfd2227a6411d4b5508d577963081d17dd889" 11 | else 12 | url "https://dl.nwjs.io/v#{version}/nwjs-v#{version}-linux-x64.tar.gz" 13 | sha256 "031c0a5418e81dd1e16f861327fbfd2227a6411d4b5508d577963081d17dd889" 14 | end 15 | 16 | 17 | def install 18 | libexec.install Dir["*"] 19 | bin.install_symlink("#{libexec}/nw") 20 | end 21 | 22 | def caveats; <<~EOS 23 | This version contains Chromium 72 + Node 11.9.0. 24 | Executable linked as "nw". 25 | EOS 26 | end 27 | end 28 | -------------------------------------------------------------------------------- /Formula/v2ray-binary.rb: -------------------------------------------------------------------------------- 1 | class V2rayBinary < Formula 2 | desc "A platform for building proxies to bypass network restrictions." 3 | homepage "https://github.com/v2fly/v2ray-core" 4 | version "4.44.0" 5 | 6 | if Hardware::CPU.arm? 7 | url "https://github.com/v2fly/v2ray-core/releases/download/v#{version}/v2ray-linux-arm64-v8a.zip" 8 | sha256 "6d0a432edf3df179c934656bff2a9a22c2d62f76e232766e47b8158a8d17d401" 9 | else 10 | url "https://github.com/v2fly/v2ray-core/releases/download/v#{version}/v2ray-linux-64.zip" 11 | sha256 "c6eb1be207fc5d23c9a18ddb0be9adda6d7255251362863d5ba2177a11528e68" 12 | end 13 | 14 | def install 15 | libexec.install Dir["*"] 16 | bin.install_symlink("#{libexec}/v2ray") 17 | bin.install_symlink("#{libexec}/v2ctl") 18 | chmod(0755, "#{libexec}/v2ray") 19 | chmod(0755, "#{libexec}/v2ctl") 20 | bin.install_symlink("#{libexec}/geoip.dat") 21 | bin.install_symlink("#{libexec}/geosite.dat") 22 | end 23 | 24 | def caveats; <<~EOS 25 | Executable linked as "v2ray" and "v2ctl". 26 | "geoip.dat" and "geosite.dat" are also installed as symlinks. 27 | EOS 28 | end 29 | end 30 | -------------------------------------------------------------------------------- /Formula/nwjs-sdk.rb: -------------------------------------------------------------------------------- 1 | class NwjsSdk < Formula 2 | desc "NW.js (previously known as node-webkit) lets you call all Node.js modules directly from DOM and enables a new way of writing applications with all Web technologies. This is the SDK version." 3 | homepage "https://github.com/nwjs/nw.js" 4 | version "0.36.1" 5 | 6 | option "with-taobao-mirror", "Download tarball from https://npm.taobao.org/mirrors/nwjs/, use this option if you're in mainland China for a faster downloading speed." 7 | 8 | if build.with? "taobao-mirror" 9 | url "https://npm.taobao.org/mirrors/nwjs/v#{version}/nwjs-sdk-v#{version}-linux-x64.tar.gz" 10 | sha256 "ab9da4aff7863790c553253b6f15722f00561276c86a2ddae8cd441676a2a390" 11 | else 12 | url "https://dl.nwjs.io/v#{version}/nwjs-sdk-v#{version}-linux-x64.tar.gz" 13 | sha256 "ab9da4aff7863790c553253b6f15722f00561276c86a2ddae8cd441676a2a390" 14 | end 15 | 16 | 17 | def install 18 | libexec.install Dir["*"] 19 | bin.install_symlink("#{libexec}/nw") 20 | bin.install_symlink("#{libexec}/nwjc") 21 | end 22 | 23 | def caveats; <<~EOS 24 | This version contains Chromium 72 + Node 11.9.0. 25 | Executable linked as "nw", "nwjc". 26 | EOS 27 | end 28 | end 29 | -------------------------------------------------------------------------------- /Formula/go-binary.rb: -------------------------------------------------------------------------------- 1 | class GoBinary < Formula 2 | desc "Go programming environment, binary installation." 3 | homepage "https://golang.org" 4 | version "1.8.3" 5 | 6 | option "with-mirror", "Download from https://mirrors.ustc.edu.cn/golang/, use this option if you're in mainland China for a faster downloading speed." 7 | 8 | if build.with? "mirror" 9 | url "https://mirrors.ustc.edu.cn/golang/go#{version}.linux-amd64.tar.gz" 10 | else 11 | url "https://storage.googleapis.com/golang/go#{version}.linux-amd64.tar.gz" 12 | end 13 | 14 | sha256 "1862f4c3d3907e59b04a757cfda0ea7aa9ef39274af99a784f5be843c80c6772" 15 | 16 | conflicts_with "go" 17 | 18 | def install 19 | libexec.install Dir["*"] 20 | bin.install_symlink Dir["#{libexec}/bin/*"] 21 | end 22 | 23 | def caveats; <<~EOS 24 | As of go 1.2, a valid GOPATH is required to use the `go get` command: 25 | https://golang.org/doc/code.html#GOPATH 26 | So don't forget to set GOROOT: 27 | export GOROOT=$(brew --prefix go) 28 | You may wish to add the GOROOT-based install location to your PATH: 29 | export PATH=$PATH:$GOROOT/bin 30 | Besides you may also want to set GOPATH: 31 | export GO_PATH=$HOME/go 32 | EOS 33 | end 34 | end 35 | -------------------------------------------------------------------------------- /Formula/powershell-binary.rb: -------------------------------------------------------------------------------- 1 | class PowershellBinary < Formula 2 | desc "PowerShell for every system" 3 | homepage "https://github.com/PowerShell/PowerShell" 4 | version "7.2.1" 5 | 6 | option "with-cn-mirror", "Download from China mainland mirror." 7 | 8 | if Hardware::CPU.arm? 9 | if build.with? "cn-mirror" 10 | url "https://s3.jcloud.sjtu.edu.cn/899a892efef34b1b944a19981040f55b-oss01/github-release/PowerShell/PowerShell/releases/download/v#{version}/powershell-#{version}-linux-arm64.tar.gz" 11 | else 12 | url "https://github.com/PowerShell/PowerShell/releases/download/v#{version}/powershell-#{version}-linux-arm64.tar.gz" 13 | end 14 | 15 | sha256 "f0d6c9c36d69e1466e5a9412085ef52cafd10b73f862d29479b806279a2975f4" 16 | else 17 | if build.with? "cn-mirror" 18 | url "https://s3.jcloud.sjtu.edu.cn/899a892efef34b1b944a19981040f55b-oss01/github-release/PowerShell/PowerShell/releases/download/v#{version}/powershell-#{version}-linux-x64.tar.gz" 19 | else 20 | url "https://github.com/PowerShell/PowerShell/releases/download/v#{version}/powershell-#{version}-linux-x64.tar.gz" 21 | end 22 | 23 | sha256 "337d9864799ad09b46d261071b9f835f69f078814409bc2681f4cc2857b6bda5" 24 | end 25 | 26 | def install 27 | libexec.install Dir["*"] 28 | chmod(0755, "#{libexec}/pwsh") 29 | bin.install_symlink("#{libexec}/pwsh" => "pwsh") 30 | end 31 | 32 | def caveats; <<~EOS 33 | Executable is linked as "pwsh". 34 | EOS 35 | end 36 | end 37 | -------------------------------------------------------------------------------- /Formula/jetbrains-toolbox.rb: -------------------------------------------------------------------------------- 1 | class JetbrainsToolbox < Formula 2 | desc "A control panel for your tools and projects." 3 | homepage "https://www.jetbrains.com/toolbox/app/" 4 | version "1.8.3678" 5 | 6 | option "with-no-cdn", "Download from https://download-cf.jetbrains.com directly. Use this if CDN's version is behind, which will cause a hash mismatch." 7 | 8 | if build.with? "no-cdn" 9 | url "https://download-cf.jetbrains.com/toolbox/jetbrains-toolbox-#{version}.tar.gz" 10 | else 11 | url "https://download.jetbrains.com/toolbox/jetbrains-toolbox-#{version}.tar.gz" 12 | end 13 | 14 | sha256 "bb98b94fa714ca07db31ac5bb42fbba2eac610c360541848e59adf0f8d84cefb" 15 | 16 | 17 | def install 18 | libexec.install Dir["*"] 19 | bin.install_symlink("#{libexec}/jetbrains-toolbox" => "jbtool") 20 | end 21 | 22 | def caveats; <<~EOS 23 | Executable is linked as "jbtool". 24 | 25 | Known issue: 26 | Jetbrains Toolbox is able to update itself, but once you do that, 27 | new executable will be installed as "~/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox", 28 | with a desktop entry "~/.local/share/applications/jetbrains-toolbox.desktop". 29 | So once you did the update, use the "*.desktop" entry (which is usually accessed in application menu of your 30 | desktop) to launch toolbox, instead of executing "jbtool" (which is still the old version). 31 | 32 | Tips: 33 | Find your Jetbrains applications (IntelliJ, PyCharm, etc.) in "~/.local/share/JetBrains/Toolbox/apps", where you can remove older versions manually. 34 | EOS 35 | end 36 | end 37 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Homebrew Linux Binary Formulaes 2 | These formulae provide binary installs of software that, for whatever reason, aren't available or outdated in the package manager of your linux distro. 3 | 4 | ## NOTE 5 | - This tap is **ONLY** for linux. 6 | 7 | ## How do I install these formulae? 8 | `brew install athrunsun/linuxbinary/` 9 | 10 | Or `brew tap athrunsun/linuxbinary` and then `brew install `. 11 | 12 | Or install via URL (which will not receive updates): 13 | 14 | ``` 15 | brew install https://raw.githubusercontent.com/athrunsun/homebrew-linuxbinary/master/Formula/.rb 16 | ``` 17 | 18 | ## Tips 19 | For jetbrans softwares (intellij-idea, pycharm, datagrip, etc.), if it's not a major upgrade, you don't need to download the newer version (which is much larger than downloading a patch) with `brew` from this tap, instead, just check update within the software then download and apply a patch. 20 | 21 | And to make it even more convenient, install [jetbrains-toolbox](https://www.jetbrains.com/toolbox/) from this tap with `brew install athrunsun/linuxbinary/jetbrains-toolbox` to manage all of your jetbrains softwares. jetbrains-toolbox is also able to update itself. :thumbsup: 22 | 23 | ### Known issue 24 | Jetbrains Toolbox is able to update itself, but once you do that, new executable will be installed as `~/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox`, with a desktop entry `/home/athrun/.local/share/applications/jetbrains-toolbox.desktop`. 25 | 26 | So once you did the update, use the `*.desktop` entry (which is usually accessed in application menu of your desktop) to launch toolbox, instead of executing `jbtool` (which is still the old version). 27 | 28 | ## Documentation 29 | `brew help`, `man brew` or check [Linuxbrew's documentation](https://github.com/Linuxbrew/brew/tree/master/docs#readme). 30 | --------------------------------------------------------------------------------