blob: 536f30568a94458b816e502a9c7cba22ddacfa1b (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_gemname=sprockets
pkgname=ruby-redmine-$_gemname
pkgver=2.2.2.b2
_realver=2.2.2.backport2
pkgrel=0
pkgdesc="Rack-based asset packaging system"
url="http://rubygems.org/gems/rack-test"
arch="noarch"
license="MIT"
depends="ruby ruby-hike ruby-multi_json ruby-rack ruby-tilt"
depends_dev=
makedepends="$depends_dev ruby-gems"
install=""
subpackages=""
source="http://gems.rubyforge.org/gems/$_gemname-$_realver.gem"
_builddir="$srcdir"/$_realname-$_realver
build() {
return 0
}
package() {
local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
local _geminstdir=$_gemdir/gems/$_gemname-$_realver
mkdir -p "$pkgdir" || return 1
gem install --local --install-dir "$pkgdir"/$_gemdir \
--ignore-dependencies --verbose --no-rdoc --no-ri \
"$srcdir"/$_gemname-$_realver.gem || return 1
rm -rf "$pkgdir"/$_gemdir/cache \
"$pkgdir"/$_geminstdir/ext \
"$pkgdir"/$_geminstdir/.require_paths
}
md5sums="5235dbd84324ffd73139df26b65bbfe7 sprockets-2.2.2.backport2.gem"
sha256sums="8b2c22a65c3838e698307e2e1013297823e662bbe7af45c3ab17fda861c111f8 sprockets-2.2.2.backport2.gem"
sha512sums="b596e9a29dd9dd206ceb47d3579a18ec17d0495bd928d2d49207a12eb9433a0d66536fa290d5f25fd1e1aced58d6affede306fc79f083b3962c1193b84f8e8ef sprockets-2.2.2.backport2.gem"
|