aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-globalid
diff options
context:
space:
mode:
Diffstat (limited to 'main/ruby-globalid')
-rw-r--r--main/ruby-globalid/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/main/ruby-globalid/APKBUILD b/main/ruby-globalid/APKBUILD
new file mode 100644
index 0000000000..b79dc73e6b
--- /dev/null
+++ b/main/ruby-globalid/APKBUILD
@@ -0,0 +1,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"