steve8x8 / geotoad

Geocaching query tool written in Ruby
https://buymeacoffee.com/steve8x8
Other
28 stars 8 forks source link

Homebrew support #341

Closed steve8x8 closed 5 years ago

steve8x8 commented 7 years ago

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 commented 7 years ago

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 https://github.com/Homebrew/homebrew-core/pull/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 commented 7 years ago

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

steve8x8 commented 5 years ago

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

vitorgalvao commented 4 years ago

@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