diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-26 07:43:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-26 14:21:44 +0000 |
commit | 35d78289b0e424c598dae848aa11f0061a4785eb (patch) | |
tree | 56f82c176b40a56abdac0eb973d3166fab3b9468 /main/ruby-rails4.2 | |
parent | 60d9af5dd5b763d66c7859c531aba91795c3a5ab (diff) | |
download | aports-35d78289b0e424c598dae848aa11f0061a4785eb.tar.bz2 aports-35d78289b0e424c598dae848aa11f0061a4785eb.tar.xz |
main/ruby-rails4.2: rename and upgrade to 4.2.1
Diffstat (limited to 'main/ruby-rails4.2')
-rw-r--r-- | main/ruby-rails4.2/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/main/ruby-rails4.2/APKBUILD b/main/ruby-rails4.2/APKBUILD new file mode 100644 index 0000000000..c53672b7c8 --- /dev/null +++ b/main/ruby-rails4.2/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +_gemname=rails +pkgname=ruby-rails4.2 +pkgver=4.2.1 +pkgrel=0 +pkgdesc="Ruby full-stack web framework" +url="http://rubyonrails.org/" +arch="noarch" +license="MIT" +depends="ruby + ruby-actionmailer4.2 + ruby-actionpack4.2 + ruby-actionview4.2 + ruby-activejob4.2 + ruby-activemodel4.2 + ruby-activerecord4.2 + ruby-activesupport4.2 + ruby-bundler + ruby-railties4.2 + ruby-sprockets-rails4.2 + " +depends_dev= +makedepends="$depends_dev ruby" +install="" +subpackages="" +source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" + +_builddir="$srcdir"/$_realname-$pkgver +build() { + return 0 +} + +package() { + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + local _geminstdir=$_gemdir/gems/$_gemname-$pkgver + mkdir -p "$pkgdir" || return 1 + + gem install --local --install-dir "$pkgdir"/$_gemdir \ + --ignore-dependencies --verbose --no-rdoc --no-ri \ + "$srcdir"/$_gemname-$pkgver.gem || return 1 + rm -rf "$pkgdir"/$_gemdir/cache \ + "$pkgdir"/$_geminstdir/ext \ + "$pkgdir"/$_geminstdir/.require_paths +} + +md5sums="e5838781dbc92638bfdea54eb30b22ed rails-4.2.1.gem" +sha256sums="6b5f7d3a4a9eb2f181bab4a657315dbe08d0be218eae6017bef8a45dede211cb rails-4.2.1.gem" +sha512sums="67f6e1704f590b672dfe4aa967d822b9ae4dc7fbd7894516fc32c1524e017d5bb54426ed2de5b2ea7e83b5281805e829abe1f12e375ce4a3cd1bd99210dbe442 rails-4.2.1.gem" |