diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 08:11:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 12:36:41 +0000 |
commit | 80acbaee801184140fac0c967cbb8aa051db2b06 (patch) | |
tree | 77c8128eadea951dd93cce5ba6632c5ddc120426 /unmaintained/ruby-fastthread | |
parent | 5db5ee5c13e577e862e822501b2e4863fbd63195 (diff) | |
download | aports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.bz2 aports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.xz |
move testing/ruby-* to unmaintained
ruby-mime-types and ruby-nokogiri was there already so remove those
Diffstat (limited to 'unmaintained/ruby-fastthread')
-rw-r--r-- | unmaintained/ruby-fastthread/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/unmaintained/ruby-fastthread/APKBUILD b/unmaintained/ruby-fastthread/APKBUILD new file mode 100644 index 0000000000..8565378871 --- /dev/null +++ b/unmaintained/ruby-fastthread/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Matt Smith <mcs@darkregion.net> +# Maintainer: Matt Smith <mcs@darkregion.net> +pkgname=ruby-fastthread +_gemname=fastthread +pkgver=1.0.7 +pkgrel=1 +pkgdesc="Optimized replacement for thread.rb primitives" +url="http://rubygems.org/gems/fastthread" +arch="noarch" +license="GPL" +depends="ruby" +depends_dev="" +makedepends="$depends_dev ruby-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="16eb06dc3661c89301de6c73c71bb16e fastthread-1.0.7.gem" +sha256sums="bd1a8cea1dcf4ad590a8170dbb3468a94a4530fa9010b717a19ad78cae7a7600 fastthread-1.0.7.gem" +sha512sums="71c6901ba691e3a4b6f77ad29f02be1fb0c4144226d0cd915b428301ca52f3e23ce23cd1e90696dbc31960ae8e9582eb751a5eeacf24386ac033ffab08807ad5 fastthread-1.0.7.gem" |