blob: 72c80fdf4a35d7e78565e1c2d157e838b6b65b8d (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ruby-i18n
_gemname=i18n
pkgver=0.6.9
pkgrel=1
pkgdesc="Internationalization support for Ruby"
url="http://rubygems.org/gems/i18n"
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="2ee80a0d22ccddf868e1437d9e3dfc00 i18n-0.6.9.gem"
sha256sums="1cd368e0b3854e8067955643892b18040e1d17f3c768daef8901298222e88e5d i18n-0.6.9.gem"
sha512sums="8bb28578bfe121f293058a6ca99ba8e87195b2735f084190e5096655b7eee5ed44751bb56dde823e5ee8094668e93958af4999642308c5b7189d95dd892a3b63 i18n-0.6.9.gem"
|