blob: d121c807724602ee8fd250eb4c1cf47bba87e88e (
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
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
_gemname=sprockets-rails
pkgname=ruby-${_gemname}4.2
pkgver=2.2.4
pkgrel=0
pkgdesc="Sprockets Rails integration"
url=http://rubygems.org/gems/$_gemname
arch=noarch
license=MIT
depends="ruby ruby-actionpack4.2 ruby-activesupport4.2
ruby-sprockets"
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="8a49edf5f6f29a3066291e137f2df1b6 sprockets-rails-2.2.4.gem"
sha256sums="ec11878bd0f07aba4063eca24ec3327b9e1fff04f24b66f37e4e6386c66b4c9c sprockets-rails-2.2.4.gem"
sha512sums="c7a7c701ebaa4f88d189e1385a2f1872c6b08e2175030e54f9366770f70d558e914918a1dcdc032c47eaa225b0c16747be7c88a4b3fa5f33dd17bc625f645bfd sprockets-rails-2.2.4.gem"
|