blob: ec5ee5fce0982a9b4a2a7603df917828a7efd37b (
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-$_gemname
pkgver=5.0.1.20140414130214
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="e4136ab2f2a7dae5979b6769e3f1ad18 arel-5.0.1.20140414130214.gem"
sha256sums="c941f07bad89af26e8837c73d8a399b7777c721609f759eda015ed0081601636 arel-5.0.1.20140414130214.gem"
sha512sums="9f4c768712492ef8f7a938d89ce9c54c4e7c7ec2ff53ee52d5d12f0cefd7960895049f112b772864d034a4419acab91511173ddaab70a9f3d4027899af150011 arel-5.0.1.20140414130214.gem"
|