homebrew-core/Formula/cssembed.rb

15 lines
500 B
Ruby

class Cssembed < Formula
desc "Automatic data URI embedding in CSS files"
homepage "https://www.nczonline.net/blog/2009/11/03/automatic-data-uri-embedding-in-css-files/"
url "https://github.com/downloads/nzakas/cssembed/cssembed-0.4.5.jar"
sha256 "8955016c0d32de8755d9ee33d365d1ad658a596aba48537a810ce62f3d32a1af"
license "MIT"
bottle :unneeded
def install
libexec.install "cssembed-#{version}.jar"
bin.write_jar_script libexec/"cssembed-#{version}.jar", "cssembed"
end
end