aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-thread_safe/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/ruby-thread_safe/APKBUILD')
-rw-r--r--unmaintained/ruby-thread_safe/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/ruby-thread_safe/APKBUILD b/unmaintained/ruby-thread_safe/APKBUILD
new file mode 100644
index 0000000000..2002c63fa7
--- /dev/null
+++ b/unmaintained/ruby-thread_safe/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Seung Soo Mun <hamletmun@gmail.com>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+_gemname=thread_safe
+pkgname=ruby-$_gemname
+pkgver=0.3.5
+pkgrel=0
+pkgdesc="Thread-safe collections and utilities for Ruby "
+url="http://rubygems.org/gems/$_gemname"
+arch="noarch"
+license="MIT"
+depends="ruby"
+depends_dev=""
+makedepends="$depends_dev"
+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="366f12f1ef0a0ec746658fa8d1c4ef65 thread_safe-0.3.5.gem"
+sha256sums="993da065f98b8575c537ebf984ffb79eecdb6064559a3b9d2a9d7aaf313704c3 thread_safe-0.3.5.gem"
+sha512sums="35749e7e9f6a95115d86bbd7bd5cae92f64dbddc36caf5d5ab8bc23db75ade51c31b6b9ef5afac4cfc744cfa624a002468fc0727eff33b69aa80f7bb383df471 thread_safe-0.3.5.gem"