aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-globalid/APKBUILD
blob: 794b09d13df8cd25a1a9eceda7755df41340075d (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.3
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-activesupport4.2"
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="d7fdd8df8806c2490a4872e3426695ad  globalid-0.3.3.gem"
sha256sums="43ddc0fa221320bec0c603fe45544c31098535d56959c094366c50ed905b6431  globalid-0.3.3.gem"
sha512sums="32309b723e0391864bb2db4e5b6dbf7f56994f679a651bed48c37bcb6bfa9e487e0777cbabff27b43f81bb8e068a9288725b99691cce97dc8fdb9ded529dc038  globalid-0.3.3.gem"