aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-redmine-rails/APKBUILD
blob: 50ba55145c8d66e6030852bc86aae20b1afce5bb (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.14
pkgrel=1
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="dc69ea25e9b380145a864b37b798389a  rails-3.2.14.gem"
sha256sums="d63321eb0231dbf576ba19017cf87b3e2d8b863dd6402f26f198455fd1377963  rails-3.2.14.gem"
sha512sums="8c0255d05be09d260d5d50ea03872d1b532962b9000b1dd556cc769f17bd784082bce92471f20c5cc667f8dffe96a6ad55ab429665028f4a37aa25ccff3bfee6  rails-3.2.14.gem"