aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-redmine-rails/APKBUILD
blob: a1a8db550d5e24dd1bdb118b4c1aa48d611f270c (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>
_gemname=rails
pkgname=ruby-redmine-rails
pkgver=3.2.21
pkgrel=0
pkgdesc="Ruby full-stack web framework"
url="http://rubyonrails.org/"
arch="noarch"
license="MIT"
depends="ruby ruby-redmine-actionmailer ruby-redmine-actionpack ruby-redmine-activerecord
	ruby-redmine-activeresource ruby-redmine-activesupport ruby-bundler ruby-redmine-railties"
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="a17f6315198b028a0d88f72eadf39e8b  rails-3.2.21.gem"
sha256sums="d0f6904bc864307cb0236a3cc8b252d355e4536223614aee33265f23ead3c55a  rails-3.2.21.gem"
sha512sums="46965273bccde3b4b5184c866a3842e2ba68dd34170f2530c96ea8daea84468135ca084a5521c0f69c86be2acbb2e2b365fad115c437a20ea21986861d31acc2  rails-3.2.21.gem"