diff --git a/talimatname/genel/ruby-bundler23/talimat b/talimatname/genel/ruby-bundler23/talimat new file mode 100644 index 000000000..5759894b2 --- /dev/null +++ b/talimatname/genel/ruby-bundler23/talimat @@ -0,0 +1,19 @@ +# Description: Ruby uygulama-paket yƶneticisi +# URL: http://www.ruby-lang.org +# Packager: yakar (aydin@komutan.org) +# Depends on: ruby23 + +name=ruby-bundler23 +_name=ruby-bundler +version=1.15.1 +release=1 +source=(https://rubygems.org/downloads/${_name#ruby-}-$version.gem) + +build () { + cd "$SRC" + local _gemdir="$(ruby -e'puts Gem.default_dir')" + HOME="/tmp" GEM_HOME="$_gemdir" + GEM_PATH="$_gemdir" + gem install --no-user-install --ignore-dependencies -i "$PKG/$_gemdir" -n "$PKG/usr/bin" "${_name#ruby-}-$version.gem" + rm "$PKG/$_gemdir/cache/${_name#ruby-}-$version.gem" +}