aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-actionview4.2/APKBUILD
blob: 962078a32184bac2ca1ff5bde39217633b4381e9 (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.3
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="ca870d1a37a37483f8bab397fedd9078  actionview-4.2.3.gem"
sha256sums="338dd33a0d87735d97279635e28132d47587fed760a1b2ee4e490a429bea3845  actionview-4.2.3.gem"
sha512sums="45cd31b0424680eada904c05e109ca1db181e8f98ee0ba665ea17edeee8f3d59bde8ca4e3303e11030ca677d2aca078e3cd20631b53274be184493ccb0d6b7c0  actionview-4.2.3.gem"