blob: 12c05d33eb45adee367fc6c866dea4dc54752050 (
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: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
_gemname=activejob
pkgname=ruby-$_gemname
pkgver=4.2.0
pkgrel=0
pkgdesc="Declare job classes that can be run by a variety of queueing backends"
url=http://rubyonrails.org/
arch=noarch
license=MIT
depends="ruby ruby-activesupport ruby-globalid"
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="001278a22f91f6ca7445e9980646a278 activejob-4.2.0.gem"
sha256sums="0d9fa071143f62aa3b4f8339fffd114a9530008a71e41411e9c7b94bd42aacc0 activejob-4.2.0.gem"
sha512sums="137f397579355419f821aa8a5dc4f732e21c41e9cdad5c2ea107111c94cb34d766ef82e74e7bf0707a420ca6d74eb99a4d239ee933919386fa64b0820baff4f9 activejob-4.2.0.gem"
|