blob: 5fbd6f822157806ab0d7e36eff9303509a593128 (
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
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
_gemname=rails-dom-testing
pkgname=ruby-${_gemname}4.2
pkgver=1.0.6
pkgrel=0
pkgdesc="Dom and Selector assertions for Rails applications"
url=http://rubyonrails.org/
arch=noarch
license=MIT
depends="ruby
ruby-nokogiri
ruby-activesupport4.2
ruby-rails-deprecated_sanitizer4.2
"
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="84ca335a060038b939f5e4c3549da13a rails-dom-testing-1.0.6.gem"
sha256sums="a7b69cc95c84b5eb8e3fc6cd77726e409475415223c298647b61ffa33d849dd7 rails-dom-testing-1.0.6.gem"
sha512sums="56884897b6a2b890920c689412e92489e33979f1c7f55c0d1b82fb0256ca85a32c383f4924cad524e10f95bcc75bb16680ff05460082478491800e5ede71591e rails-dom-testing-1.0.6.gem"
|