# Maintainer: Natanael Copa setvar _gemname = 'railties' setvar pkgname = "ruby-${_gemname}4.2" setvar pkgver = '4.2.5.2' setvar pkgrel = '0' setvar pkgdesc = ""Rails internals: application bootup, plugins, generators, and rake tasks"" setvar url = ""http://www.rubyonrails.org/"" setvar arch = ""noarch"" setvar license = ""MIT"" setvar depends = ""ruby ruby-actionpack4.2 ruby-activesupport4.2 ruby-rake ruby-thor"" setvar depends_dev = '' setvar makedepends = ""$depends_dev ruby"" setvar install = """" setvar subpackages = """" setvar source = ""http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"" proc build { return 0 } proc 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 cd $pkgdir for i in usr/lib/ruby/gems/*/bin/* { if test -e $i { mkdir -p "$pkgdir"/usr/bin ln -s /$i "$pkgdir"/usr/bin/ } } } setvar md5sums = ""e89156f674088447f22261b3872899a8 railties-4.2.5.2.gem"" setvar sha256sums = ""cfff64cbc0e409341003c35fa2e576e6a8cd8259a9894d09f15c6123be73f146 railties-4.2.5.2.gem"" setvar sha512sums = ""5857debf0518e7f39d4c55bafa207c36106797b1408ac6cb91c7593bd4dc0e4820ec8c4595e2cab56a910d001abf8d455e78d6f9a07b595454a3fde4c536520b railties-4.2.5.2.gem""