aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-actionview4.2/APKBUILD
blob: ea1719408978869ccc255245750b12217d0db970 (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
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
_gemname=actionview
pkgname=ruby-${_gemname}4.2
pkgver=4.2.5.2
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"

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="2fc9c05b729d37cd5d0fe0d0177f7454  actionview-4.2.5.2.gem"
sha256sums="e8ce01cf6cc822ec023a15a856a0fae0e078ebb232b95b722c23af4117d2d635  actionview-4.2.5.2.gem"
sha512sums="b3d6b943adc0b037f80a34f9753ec2f9439c16089557f75889a64a6fe1152e9e8d81672dc86f1ceb15d8fb93d10bb13770ac0f7180262386ace25a7e7c1feec2  actionview-4.2.5.2.gem"