aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-test-unit/APKBUILD
blob: e8bd3f79ee310328388de93f14d3e8395877c79f (plain) (blame)
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: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: 
_gemname=test-unit
pkgname=ruby-test-unit
pkgver=2.5.5
pkgrel=1
pkgdesc="A xUnit family unit testing framework for Ruby"
url="http://test-unit.rubyforge.org"
arch="noarch"
license="MIT"
depends="ruby"
depends_dev=
makedepends="$depends_dev"
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="330ec9fb1cb03f869bbb20274672e297  test-unit-2.5.5.gem"
sha256sums="3216d6584293964c438e0573fa8f0273d12df2abb1c32d7a6aa427d6e0779d47  test-unit-2.5.5.gem"
sha512sums="4f710997d187011bc240ef869f5c86c11e01d9c7c8bee5fd938f194155137d7164e69bae6d63e41b90de8f7f6ab813a62131f2f9518d57b3913777923b491142  test-unit-2.5.5.gem"