aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-activejob4.2/APKBUILD
blob: da4ac972f3cd77741f75b72965a0dfe55aeff282 (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}4.2
pkgver=4.2.1
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"

_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="d13635cf37e9637f7fa5d2856e92ca83  activejob-4.2.1.gem"
sha256sums="33cee3d50dbfacd105766be1f5885dfa614deb8a18c45a3a398f294457c8bd63  activejob-4.2.1.gem"
sha512sums="876d8291bce1ed51caf5f54d7912682d628b29bb2850cab7c55ef326953355eb1584fcfe458ee5a75ba8478583646268e58c2661daf0f66a872ad9d12e96e908  activejob-4.2.1.gem"