mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-29 10:21:10 +02:00
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
# 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"
|