blob: 6e7e540e9d411e70fd418423c0cd267fef462f54 (
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=3.2.13
pkgrel=0
pkgdesc="REST on Rails"
url="https://rubyforge.org/projects/activeresource/"
arch="noarch"
license="GPL"
depends="ruby ruby-activemodel ruby-activesupport"
depends_dev=
makedepends="$depends_dev ruby-gems"
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="6c6375bee50bf4ebe94956fca8ff09b7 activeresource-3.2.13.gem"
sha256sums="3414f1db511b5cf2fa81a7638859b398b0ee6e0bdbbb9530254d8c86198197e4 activeresource-3.2.13.gem"
sha512sums="374ddad198a6ccf2e78ed28c0179f80b722881ce5ca0d45fad2f2055845815a941db9bf526550d07d73520489f6902ea8dd5adcfb8ef90a8b7128db4451e55eb activeresource-3.2.13.gem"
|