blob: 0518bddcee0b2e8b271d105c6cdee451476e5ae0 (
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
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
_gemname=sprockets-rails
pkgname=ruby-$_gemname
pkgver=2.2.2
pkgrel=0
pkgdesc="Sprockets Rails integration"
url=http://rubygems.org/gems/$_gemname
arch=noarch
license=MIT
depends="ruby ruby-actionpack ruby-activesupport 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="e5fbb54338866ae4cda92758172da383 sprockets-rails-2.2.2.gem"
sha256sums="2ba0eddfb651d7b8a5aab1d03b25d9a61333509a589b48e1355fbe40dd264da4 sprockets-rails-2.2.2.gem"
sha512sums="0ca5fc15b5bfbd373f3f80c2112c9b46fe16c15c0fccc068c484fcf6c39998f59b88470ee534bdf85d924c5aa2f013dd1fb3a2ea2294fd7a72796c1def2c6576 sprockets-rails-2.2.2.gem"
|