From c7f1dd5a722565742e6a1b49236f733790a5cb55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ayd=C4=B1n=20Yakar?= Date: Tue, 27 Jun 2017 13:34:02 +0300 Subject: [PATCH] =?UTF-8?q?Ruby=202.3.4=20i=C3=A7in=20Bundler=20paketlendi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- talimatname/genel/ruby-bundler23/talimat | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 talimatname/genel/ruby-bundler23/talimat 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" +}