diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 08:04:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 12:36:41 +0000 |
commit | b951abfe754edd478b0a17f12cad5fb56e42eee1 (patch) | |
tree | e71d1359aad8863964935b6d374f6e97b715dbde /unmaintained/ruby-thread_safe | |
parent | 966bc7207f72795a226a704782b524c2b2fbefb3 (diff) | |
download | aports-b951abfe754edd478b0a17f12cad5fb56e42eee1.tar.bz2 aports-b951abfe754edd478b0a17f12cad5fb56e42eee1.tar.xz |
move main/ruby-* to unmaintained
Diffstat (limited to 'unmaintained/ruby-thread_safe')
-rw-r--r-- | unmaintained/ruby-thread_safe/APKBUILD | 39 |
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" |