blob: fb4fdd96367fae2ae6036e0685ea92d4019e092c (
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>
_gemname=activeresource
pkgname=ruby-$_gemname
pkgver=4.0.0
pkgrel=1
pkgdesc="REST on Rails"
url="http://rubygems.org/gems/activeresource"
arch="noarch"
license="GPL"
depends="ruby ruby-activemodel ruby-activesupport"
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="bade136345b4dec8ffd3589cfd5dbae8 activeresource-4.0.0.gem"
sha256sums="589266ba14c344903c582e82ad39da5f24067f9bcbcf8213d55f7a19e58b8539 activeresource-4.0.0.gem"
sha512sums="e078ea033e5e74388d82be60b17415ab555d920cdef2cc9dd7f978f23dc1da91720332f004b40b259feb0df9f27e2245f3f18bd8e12806362996199d53144f42 activeresource-4.0.0.gem"
|