blob: 06d0e605ab49b63190e56aa96196f49819e31fe0 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_gemname=arel
pkgname=ruby-redmine-$_gemname
pkgver=3.0.3
pkgrel=0
pkgdesc="a SQL AST manager for Ruby"
url="http://rubygems.org/gems/arel"
arch="noarch"
license="MIT"
depends="ruby"
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="c4b1aaea8c39cc58613bebcb6d56af4c arel-3.0.3.gem"
sha256sums="c0006e2169deee3b8cc2d258296388822eeb2db59832450b9b7316e1387d0da4 arel-3.0.3.gem"
sha512sums="88508336c02ad162cbd7aeed30639f0ff996b9c60f16731cfe5ff1c0ec37e337cee9f3ad225b7f77dfe2e6a8818ee34df6159af015f07e775b25b7a2ee30a1df arel-3.0.3.gem"
|