blob: c71701beed456ea66872cd48b2166ac23cc60180 (
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=4.0.0
pkgrel=1
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="e6657014c055f9e4829a2bbd697123b3 arel-4.0.0.gem"
sha256sums="93c5b7f3a994cd489fb143548a281cecb66d1cf4e46ae36847e1920b257abfa7 arel-4.0.0.gem"
sha512sums="c66f5483d6f41b7d8074f47a8a6b94000f92fe5bfe0f0e648a55bebab9c28f7109c311da3730fbd0a240463a2deed495f572a1ca5179a20496a4327af32fda25 arel-4.0.0.gem"
|