Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homebrew support #341

Closed
steve8x8 opened this issue Aug 12, 2016 · 4 comments
Closed

Homebrew support #341

steve8x8 opened this issue Aug 12, 2016 · 4 comments

Comments

@steve8x8
Copy link
Owner

steve8x8 commented Aug 12, 2016

There have been multiple requests for Homebrew support in the past.
As I'm currently unable to test the suggested solution, I'd like to point you to https://github.com/vitorgalvao/homebrew-geotoad instead.
The "brew" line would read

brew install vitorgalvao/homebrew-geotoad/geotoad

I presume (as I said, I cannot test it) - let me now whether it works or not.

@vitorgalvao
Copy link

vitorgalvao commented Aug 15, 2016

I’d also suggest (since many people do not read issues), to add it to the README stating (for your peace of mind) the formula is not official (i.e. not yours) and that users should use at their own risk.

For users reading this, I’m an owner at homebrew-cask and member at Homebrew, so that should increase your trust somewhat. In case you’re wondering why then isn’t the formula just outright added to homebrew, see Homebrew/homebrew-core#3623.

Finally, I’m currently subscribed to the releases feed so for the foreseeable future, as long as GeoToad continues to be released via Github issues, I’ll keep the formula up-to-date.

@steve8x8
Copy link
Owner Author

Sounds good. No promises yet that 3.26.0 (due in about 3 weeks) will have brew support from my side.

@steve8x8
Copy link
Owner Author

Homebrew hints are created, and @vitorgalvao seems to notice them, so this issue can be closed successfully I suppose...

@vitorgalvao
Copy link

@steve8x8 I’m no longer interested in maintaining the Homebrew formula and will delete the repo in a few days. I don’t use it and it’s unclear that anybody does, so I feel like I’m keeping it for no one.

I’m still willing to help you or anyone else setup the formula themselves. I’m reproducing the last version here, for reference.

class Geotoad < Formula
  desc "Query tool to query the geocaching.com website"
  homepage "https://github.com/steve8x8/geotoad"
  url "https://github.com/steve8x8/geotoad/archive/3.29.2.tar.gz"
  sha256 "0f408592cd6f9051944110e0b4298759f120ee65f2c565c902d918584f826ee4"
  head "https://github.com/steve8x8/geotoad.git"

  def install
    libexec.install %w[data interface lib templates]
    libexec.install "geotoad.rb" => "geotoad"

    bin.write_exec_script libexec/"geotoad"

    doc.install "FAQ.txt", "Templates.txt"
    man1.install "geotoad.1"
  end

  test do
    system "#{bin}/geotoad", "-V"
  end
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants