Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (22 sloc) 613 Bytes
class Ckan < Formula
desc "The Comprehensive Kerbal Archive Network"
homepage "https://github.com/KSP-CKAN/CKAN/"
url "https://github.com/KSP-CKAN/CKAN/releases/download/v1.25.4/ckan.exe"
sha256 "e992982615c6afcfe5f52d9872df22f4a2fadb3bf97c37931393ea767e7c3ffc"
bottle :unneeded
depends_on "mono"
def install
(libexec/"bin").install "ckan.exe"
(bin/"ckan").write <<~EOS
#!/bin/sh
exec mono "#{libexec}/bin/ckan.exe" "$@"
EOS
end
def caveats; <<~EOS
To use the CKAN GUI, install the ckan-app cask.
EOS
end
test do
system bin/"ckan", "version"
end
end
You can’t perform that action at this time.