aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-redmine-builder/APKBUILD
blob: 762a0f26f037614a122b3362e5a6ae1dcc1d050b (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_gemname=builder
pkgname=ruby-redmine-$_gemname
pkgver=3.0.4
pkgrel=0
pkgdesc="Builder objects to simplify creating structured data"
url="http://rubygems.org/gems/builder"
arch="noarch"
license="GPL"
depends="ruby"
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="a144126de456ec6519a965824ad72625  builder-3.0.4.gem"
sha256sums="a1a31cc496700003b6809f09fc2fda5d22532a1551eed48ee402ed44040cc442  builder-3.0.4.gem"
sha512sums="5709d4ede932d3eb136ba42e162a5d4a6c033a68c4bafdb68eefb6912499dc8b98716301f341e2a9471f1e9a206e4f3cdd2843bf90068ca729daafd02cccd03b  builder-3.0.4.gem"