mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-16 14:26:53 -06:00
see https://inkscape.org/en/doc/inkscape-man.html **Note:** Running `inkscape` from the command line changes the working directory to `#{staged_path}` (i.e., `/opt/homebrew-cask/Caskroom/inkscape/0.91-1/Inkscape.app`), which means that all file arguments should be given as *absolute paths*. There is a shim script in `Inkscape.app/Contents/Resources/script`, but it doesn't solve this issue any further than simply running `Inkscape.app/Contents/Resources/bin/inkscape`. See also http://wiki.inkscape.org/wiki/index.php/MacOS_X#Inkscape_command_line
17 lines
572 B
Ruby
17 lines
572 B
Ruby
cask :v1 => 'inkscape' do
|
|
version '0.91-1'
|
|
sha256 '66c9af880f87d5b64006391fc8dd2d3f546d93d6d91235eba7856deacba29862'
|
|
|
|
# fastly.net is the official download host per the vendor homepage
|
|
url "https://inkscape.global.ssl.fastly.net/media/resources/file/Inkscape-#{version}-x11-10.7-x86_64.dmg"
|
|
homepage 'http://inkscape.org'
|
|
license :gpl
|
|
|
|
app 'Inkscape.app'
|
|
# NOTE: running inkscape on the command line requires absolute paths to files
|
|
binary 'Inkscape.app/Contents/Resources/bin/inkscape'
|
|
|
|
zap :delete => '~/.inkscape-etc'
|
|
|
|
depends_on :x11 => true
|
|
end
|