aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-loofah/APKBUILD
blob: c09a97394976bebe40fb330296592bc6f0140f4a (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=loofah
pkgname=ruby-$_gemname
pkgver=2.0.1
pkgrel=0
pkgdesc="Declare job classes that can be run by a variety of queueing backends"
url=http://rubygems.org/gems/$_gemname
arch=noarch
license=MIT
depends="ruby ruby-nokogiri"
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="73b240863742ebe1d7f785e192e9b231  loofah-2.0.1.gem"
sha256sums="e47f811395f87885374e780e64034a7263b52d5308352e32851ccd0c1bd7c66c  loofah-2.0.1.gem"
sha512sums="6bed99fced69538aa64c6ef67878420ef88d427c7cf6e74599f33ff9cfc9fcd6e9450de30a922d54bdead4851a39ec0b4bd58e58ab5ed1ef89610151c7f9270f  loofah-2.0.1.gem"