aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-globalid/APKBUILD
blob: b79dc73e6b8b4a1af96f0fb2a359f23a3a0f070f (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
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
_gemname=globalid
pkgname=ruby-$_gemname
pkgver=0.3.0
pkgrel=0
pkgdesc="URIs for your models makes it easy to pass references around"
url=http://rubyonrails.org/
arch=noarch
license=MIT
depends="ruby ruby-activesupport"
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="16a027ee660c05755682c434e025b747  globalid-0.3.0.gem"
sha256sums="1884976e6983da2693ab3e52178730137604128056f76bc98dad8c4744378191  globalid-0.3.0.gem"
sha512sums="e1e00f7f815c2278279cc29ba7a3151fc3d0a6bd05a4d5b47c206a70805fa70a57145daea142312f24e26095f96e227f9453258a58aea93b3aabcffb0c376b36  globalid-0.3.0.gem"