aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-actionpack/APKBUILD
blob: d964d296ef8cc83bc2e95d9115df24c6b806348f (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ruby-actionpack
_gemname=actionpack
pkgver=4.2.0
pkgrel=0
pkgdesc="Eases web-request routing, handling, and response as a half-way front, half-way page controller"
url="http://rubygems.org/gems/actionpack"
arch="noarch"
license="GPL"
depends="ruby ruby-actionview ruby-activesupport ruby-rack ruby-rack-test
         ruby-rails-dom-testing ruby-rails-html-sanitizer"
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="7cf97350719b6762117d1e2ba118a83e  actionpack-4.2.0.gem"
sha256sums="fa170f2a391c984691f2687789917f870dcfbf7d26b785f6b11abc2f833e37e0  actionpack-4.2.0.gem"
sha512sums="069c435bc28a83fa00b662c06d7873092faafc878f2ebc4477bc164a02f7a68912eba7f26f503ef4d0b7b746923e2b7a6eec79248e53a21fbcc7420dad54df86  actionpack-4.2.0.gem"