aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-activejob4.2/APKBUILD
blob: 94e96f3f14c554e9eb900dcaa452aa12b6c102a0 (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
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
_gemname=activejob
pkgname=ruby-${_gemname}4.2
pkgver=4.2.5.2
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-activesupport4.2 ruby-globalid"
depends_dev=
makedepends="$depends_dev ruby"
install=""
subpackages=""
source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"

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="704453dc45213c5448e2cb3726d8b8f9  activejob-4.2.5.2.gem"
sha256sums="cecb9bbc55292dee064ca479990c6e50fa3e2273aac6722ce058d18c22383026  activejob-4.2.5.2.gem"
sha512sums="5aee66c9230d830ee8881be2bfcca618b4e0b2265b2c1873321941af93ec26da3facb4d08dce8f271caf32d5b14a771ebfe4091781d903610e25231ca4671765  activejob-4.2.5.2.gem"