aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-actionpack4.2/APKBUILD
blob: 9e87fef4d0cca6f6f8decf6247f9c660a566a2b3 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ruby-actionpack4.2
_gemname=actionpack
pkgver=4.2.5.2
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-actionview4.2
	ruby-activesupport4.2
	ruby-rack
	ruby-rack-test
	ruby-rails-dom-testing4.2
	ruby-rails-html-sanitizer
	"
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="d41e94eae729ba30cacaea2df3ee4654  actionpack-4.2.5.2.gem"
sha256sums="a22e1818f06b707433c9a76867932929751b5d57edbeacc258635a7b23da12cf  actionpack-4.2.5.2.gem"
sha512sums="8303a7e225aa83dd7b6e731bffe78d588fbc919f437b604d9cde20a6200443676bb827fa970fe432f0c97034e15324afccecd38c2a40b63a4cf43f02382d6f31  actionpack-4.2.5.2.gem"