blob: 9c631128f73507206c442241514686764146edfb (
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
39
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_gemname=activerecord
pkgname=ruby-${_gemname}4.2
pkgver=4.2.1
pkgrel=0
pkgdesc="Ruby ActiveRecord pattern (Fowler, PoEAA) for ORM"
url="http://rubygems.org/gems/activerecord"
arch="noarch"
license="GPL"
depends="ruby ruby-activemodel4.2 ruby-activesupport4.2
ruby-arel"
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="f0eef4d20f832754d3efd6787d78606a activerecord-4.2.1.gem"
sha256sums="5febff6cb42c0fb94bb7708ad7df7f9ef6d365a27ef35c239674d651013c6cf2 activerecord-4.2.1.gem"
sha512sums="bc40e74622c0596c2414357cd456fc7a741181a93a291f3794b3a137a80933a47c27a625a339f1092198c2f14175112dd54f0e0aa50e74d526dd291de360fbbe activerecord-4.2.1.gem"
|