fsql: update URL

This commit is contained in:
Igor Kapkov 2019-08-14 07:10:08 +10:00 committed by Chongyu Zhu
parent fa41869cb5
commit 2d3b7ba7a3
No known key found for this signature in database
GPG key ID: 1A43E3C9100B38F5

View file

@ -1,7 +1,7 @@
class Fsql < Formula
desc "Search through your filesystem with SQL-esque queries"
homepage "https://github.com/kshvmdn/fsql"
url "https://github.com/kshvmdn/fsql/archive/v0.3.1.tar.gz"
homepage "https://github.com/kashav/fsql"
url "https://github.com/kashav/fsql/archive/v0.3.1.tar.gz"
sha256 "b88110426a60aa2c48f7b4e52e117a899d43d1bba2614346b729234cd4bd9184"
bottle do
@ -17,8 +17,7 @@ class Fsql < Formula
def install
ENV["GOPATH"] = buildpath
(buildpath/"src/github.com/kshvmdn").mkpath
ln_s buildpath, buildpath/"src/github.com/kshvmdn/fsql"
(buildpath/"src/github.com/kshvmdn/fsql").install buildpath.children
system "go", "build", "-o", bin/"fsql", "github.com/kshvmdn/fsql/cmd/fsql"
end