Skip to content

Instantly share code, notes, and snippets.

@phortx
Last active August 29, 2015 13:57
Show Gist options
  • Save phortx/9504396 to your computer and use it in GitHub Desktop.
Save phortx/9504396 to your computer and use it in GitHub Desktop.
Strange autoparts package errors
# Copyright (c) 2013-2014 Irrational Industries Inc. d.b.a. Nitrous.IO
# This software is licensed under the [BSD 2-Clause license](https://raw.github.com/nitrous-io/autoparts/master/LICENSE).
module Autoparts
module Packages
class Vlc < Package
name 'vlc'
version '2.1.4'
description 'A free and open source multimedia player and framework'
category Category::UTILITIES
source_url 'http://download.videolan.org/pub/videolan/vlc/2.1.4/vlc-2.1.4.tar.xz'
source_sha1 '53896c88947803193a21fb4619f34034bad05920'
source_filetype 'tar.xz'
def compile
Dir.chdir(name_with_version) do
end
end
def install
Dir.chdir(name_with_version) do
end
end
end
end
end
$ parts install zsh
=> Extracting archive...
=> Installing...
=> Activating...
=> Installed zsh 5.0.5
$ parts install vlc
=> Extracting archive...
=> Compiling...
parts: ERROR: No such file or directory @ dir_chdir - vlc-2.1.4
Aborting!
# Copyright (c) 2013-2014 Irrational Industries Inc. d.b.a. Nitrous.IO
# This software is licensed under the [BSD 2-Clause license](https://raw.github.com/nitrous-io/autoparts/master/LICENSE).
module Autoparts
module Packages
class Zsh < Package
name 'zsh'
version '5.0.5'
description 'Zsh: A shell with lots of features'
category Category::SHELLS
source_url 'https://downloads.sourceforge.net/project/zsh/zsh/5.0.5/zsh-5.0.5.tar.bz2'
source_sha1 '75426146bce45ee176d9d50b32f1ced78418ae16'
source_filetype 'tar.gz'
def compile
Dir.chdir(name_with_version) do
end
end
def install
Dir.chdir(name_with_version) do
end
end
end
end
end
@phortx
Copy link
Author

phortx commented Mar 18, 2014

I've opened a pull request for .tar.xz support for autoparts ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment