aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-actionview4.2/APKBUILD
blob: 92a86677d825643a779b552f473410836eb7256e (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
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
_gemname=actionview
pkgname=ruby-${_gemname}4.2
pkgver=4.2.1
pkgrel=0
pkgdesc="Simple, battle-tested conventions and helpers for building web pages"
url=http://rubyonrails.org/
arch=noarch
license=MIT
depends="ruby
	ruby-activesupport4.2
	ruby-builder
	ruby-erubis
	ruby-rails-dom-testing4.2
	ruby-rails-html-sanitizer
	"
makedepends=ruby
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="8f41e6d21de92ffc1af7d7e2873c3057  actionview-4.2.1.gem"
sha256sums="cf7dbb0b5d7a9ccb9be1870be97e5ec319e3ee0f5dc766e62c20fafe92c02bd5  actionview-4.2.1.gem"
sha512sums="ed630e281e3192c02f0be0de4be892869223859762eede9daa4e9d9e16e642b4fd02358a7d96f34b04ccb560166256e3154a580c795d33e78869e84392a07e39  actionview-4.2.1.gem"