homebrew-core/Formula/shpotify.rb

21 lines
594 B
Ruby

class Shpotify < Formula
desc "Command-line interface for Spotify on a Mac"
homepage "https://harishnarayanan.org/projects/shpotify/"
url "https://github.com/hnarayanan/shpotify/archive/2.1.tar.gz"
sha256 "b41d8798687be250d0306ac0c5a79420fa46619c5954286711a5d63c86a6c071"
license "MIT"
head "https://github.com/hnarayanan/shpotify.git", branch: "master"
bottle do
sha256 cellar: :any_skip_relocation, all: "e15fab27ffc271dd4fbb5317540b1628e30b79cb5cdaed0f51eb956873876565"
end
def install
bin.install "spotify"
end
test do
system "#{bin}/spotify"
end
end