diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-09-13 13:19:43 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-09-13 13:19:48 +0000 |
commit | 2c04a95307a976de0ee7e56846103771927cb211 (patch) | |
tree | 6e4729036540317906c508ab471f9bb8201a0fe4 /main/ruby | |
parent | cb6544990aecdc7dfe10265e90c4e6dc77c834a5 (diff) | |
download | aports-2c04a95307a976de0ee7e56846103771927cb211.tar.bz2 aports-2c04a95307a976de0ee7e56846103771927cb211.tar.xz |
main/ruby: spec location updated
Diffstat (limited to 'main/ruby')
-rw-r--r-- | main/ruby/APKBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/main/ruby/APKBUILD b/main/ruby/APKBUILD index 4f39d61366..460a7dfdba 100644 --- a/main/ruby/APKBUILD +++ b/main/ruby/APKBUILD @@ -3,7 +3,7 @@ pkgname=ruby pkgver=2.0.0_p247 _pkgver=${pkgver/_/-} -pkgrel=0 +pkgrel=1 _abi=2.0.0 @@ -122,7 +122,7 @@ _mvgem() { ./$_rubydir/${1} \ ./$_rubydir/$_arch-linux${_libc}/${1} \ ./$_gemdir/gems/${1}-* \ - ./$_gemdir/specifications/${1}-* ; do + ./$_gemdir/specifications/default/${1}-* ; do [ -e "$pkgdir"/$i ] || continue _mv "$i" done @@ -134,7 +134,7 @@ _rmgem() { ./$_rubydir/${1} \ ./$_rubydir/$_arch-linux${_libc}/${1} \ ./$_gemdir/gems/${1}-* \ - ./$_gemdir/specifications/${1}-* ; do + ./$_gemdir/specifications/default/${1}-* ; do [ -e "$pkgdir"/$i ] && rm -r "$pkgdir/$i" done return 0 @@ -144,6 +144,7 @@ gems() { pkgdesc="The Ruby standard for packaging ruby libraries" replaces="rubygems" depends="ruby" + arch="noarch" _mv usr/bin/gem \ $_rubydir/rubygems \ || return 1 @@ -152,6 +153,7 @@ gems() { rake() { pkgdesc="Ruby based make-like utility" depends="ruby" + arch="noarch" _mvgem rake || return 1 _mv usr/bin/rake } @@ -160,6 +162,7 @@ irb() { pkgdesc="The Interactive Ruby" replaces="ruby" depends="ruby" + arch="noarch" cd "$pkgdir" _mv usr/bin/irb \ usr/lib/ruby/$_abi/irb* @@ -168,6 +171,7 @@ irb() { rdoc() { pkgdesc="Ruby documentation tool" depends="ruby" + arch="noarch" _mvgem rdoc || return 1 _mv usr/bin/ri \ usr/bin/rdoc @@ -176,6 +180,7 @@ rdoc() { bigdecimal() { pkgdesc="Ruby arbitrary-precision floating point decimal arithmetic" depends="ruby" + arch="noarch" _mvgem bigdecimal } @@ -190,6 +195,7 @@ io_console() { minitest() { pkgdesc="Ruby suite of testing facilities" depends="ruby" + arch="noarch" _mvgem minitest } |