aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-redmine-rdoc/APKBUILD
blob: 076282433d9d8e5ab4f6c4fa51ae079fe82b5020 (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
39
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ruby-redmine-rdoc
_gemname=rdoc
pkgver=3.12.2
pkgrel=0
pkgdesc="Produces HTML and command-line documentation for Ruby projects."
url="http://rubygems.org/gems/rdoc"
arch="noarch"
license="GPL"
depends="ruby ruby-json"
depends_dev=
makedepends="$depends_dev ruby-gems"
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="5981db027e986779a0bcd201a7d6fba7  rdoc-3.12.2.gem"
sha256sums="a8e2b78f7e5ec4cc4716cd863975645f2f2377dc6db267a15e427e5fae2633ed  rdoc-3.12.2.gem"
sha512sums="c0cc99d3ee75bf5ec5bf73a3f89b43ed3915a80b12a6128b0e106c50e93b0b33db6bcd9812b9e2a241978c3a46cc2f05c5b1d9346c321823fc333d53c8d1296c  rdoc-3.12.2.gem"