blob: 9177392be9ccf6a8f3eb791375ed20a9d40b3dc5 (
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>
pkgname=ruby-activemodel
_gemname=activemodel
pkgver=3.2.13
pkgrel=0
pkgdesc="A toolkit for building modeling frameworks"
url="https://rubyforge.org/projects/activesupport/"
arch="noarch"
license="GPL"
depends="ruby ruby-activesupport ruby-builder"
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="23dc7b4d52690ddbbc296bcb34a6795d activemodel-3.2.13.gem"
sha256sums="c5c269b02b3d39eea3d4d8cc132319828a1a0a8e06c857a1310f80caa94fec52 activemodel-3.2.13.gem"
sha512sums="2f5e9930154a9a8543318cc8079000ac0053451ddc6fadcc6b1a789614d42d39abcdfc68d320d8870c395405c0db2946c8359689916dae4a0389f5e56a5c15b4 activemodel-3.2.13.gem"
|