aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-rails4.2/APKBUILD
blob: 3c567d13d16e565deda0884904c5073ec03bf7e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_gemname=rails
pkgname=ruby-rails4.2
pkgver=4.2.3
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="c5b45a7cb90f3498bca19a129503d34e  rails-4.2.3.gem"
sha256sums="6a19b32cf92ac3585c2effbf5356642e84349abf55ee82827313ec3c7ce34870  rails-4.2.3.gem"
sha512sums="c703b09e591594919cf92351870ccc9a26644e2c11f191dc889ad4fa9433804785f784e1dc7bce4fd6b3c5ee2e08e24801ef8049fb1082ea97202343a114bb30  rails-4.2.3.gem"