-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Brian W. Wolter
committed
Feb 26, 2019
1 parent
1386011
commit c723d87
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
|
||
class Urlencode < Formula | ||
homepage "https://github.com/bww/urlencode" | ||
url "https://github.com/bww/urlencode/releases/download/v1.0/urlencode-v1.0-darwin-amd64.tgz" | ||
sha256 "4fcf5164fc01b85ac42b10f783cf59fa5344ee4bec84aed3737671e84ab62eff" | ||
version "v1.0" | ||
url "https://github.com/bww/urlencode/releases/download/v1.1/urlencode-v1.1-darwin-amd64.tgz" | ||
sha256 "f6fb5d69af1c11c00aba3e4ef0093e8e522361ba438318476d904308e80efd9d" | ||
version "v1.1" | ||
|
||
def install | ||
system "install", "-d", "#{bin}" | ||
system "install", "-m", "0755", "bin/urlenc", "#{bin}/urlenc" | ||
system "install", "-m", "0755", "bin/urldec", "#{bin}/urldec" | ||
end | ||
end |