diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 08:06:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 12:36:41 +0000 |
commit | f58e361776f7398d806321ea9d63f59f5fc38b5d (patch) | |
tree | eea648afb288a35c5b1e2bffb3d3b4442578b08b /unmaintained/ruby-rails4.2/APKBUILD | |
parent | b951abfe754edd478b0a17f12cad5fb56e42eee1 (diff) | |
download | aports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.bz2 aports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.xz |
move community/ruby-* to unmaintained
Diffstat (limited to 'unmaintained/ruby-rails4.2/APKBUILD')
-rw-r--r-- | unmaintained/ruby-rails4.2/APKBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/unmaintained/ruby-rails4.2/APKBUILD b/unmaintained/ruby-rails4.2/APKBUILD new file mode 100644 index 0000000000..965d3c1002 --- /dev/null +++ b/unmaintained/ruby-rails4.2/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +_gemname=rails +pkgname=ruby-rails4.2 +pkgver=4.2.5.2 +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" + +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="e5078bbbf4e3d94bf41cee70ef5b4d77 rails-4.2.5.2.gem" +sha256sums="aa93c1b9eb8b535eee58280504e30237f88217699fe9bb016e458e5122eefa2e rails-4.2.5.2.gem" +sha512sums="6bb4b992e44bad01976ecf89c66060fcbef9a20de53da3450b8f9c3e0f8deebb9baf8255ba7f9588391905a9fd972fbb268a5c655489ad266fc13dcaf3417fb8 rails-4.2.5.2.gem" |