aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-rails-dom-testing/APKBUILD
blob: 7f6b3b863f5a423eeb5494305f63628563c8df8d (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
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
_gemname=rails-dom-testing
pkgname=ruby-$_gemname
pkgver=1.0.5
pkgrel=0
pkgdesc="Dom and Selector assertions for Rails applications"
url=http://rubyonrails.org/
arch=noarch
license=MIT
depends="ruby ruby-activesupport ruby-nokogiri ruby-rails-deprecated_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="cc59d0f0509553a1c7038102e60ab421  rails-dom-testing-1.0.5.gem"
sha256sums="35a6b222f33e98bc8c0401cea57aaf155c5a7ab75748e219071538dd096f6f13  rails-dom-testing-1.0.5.gem"
sha512sums="49b363f89a21af84f4f502284dc4802de2c324f4129c6653c96b548bacd35492b1ca11ae6d631cfc3b777f66ab2cbcccfa9714e7971221ddecd7d296441f6b14  rails-dom-testing-1.0.5.gem"