aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-redmine-railties/APKBUILD
blob: b5f8a08a47ae2c22e3105202a6d0b7dd879580fe (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_gemname=railties
pkgname=ruby-redmine-$_gemname
pkgver=3.2.21
pkgrel=0
pkgdesc="Rails internals: application bootup, plugins, generators, and rake tasks"
url="http://www.rubyonrails.org/"
arch="noarch"
license="MIT"
depends="ruby ruby-redmine-actionpack ruby-redmine-activesupport
         ruby-redmine-rack-ssl ruby-rake ruby-redmine-rdoc ruby-thor"
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="1295412ebb1152ccb3e17731e7f2856f  railties-3.2.21.gem"
sha256sums="47aebb6dec142bff0c62236fa87d30d590f90c72f99664588f63c7ac8f3fee96  railties-3.2.21.gem"
sha512sums="f79745a4fe9a84f4acdae7bc293763d8f07623a923ae2d06c396cda762c78c0de49936dcaadf04e2302d767f61ba9dbcbcfab5d36ba185d36adc8643e91376ca  railties-3.2.21.gem"