diff options
Diffstat (limited to 'main/ruby/APKBUILD')
-rw-r--r-- | main/ruby/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/main/ruby/APKBUILD b/main/ruby/APKBUILD index 13e7b84599..99dd18a3ec 100644 --- a/main/ruby/APKBUILD +++ b/main/ruby/APKBUILD @@ -3,7 +3,7 @@ pkgname=ruby pkgver=2.1.5 _pkgver=${pkgver/_/-} -pkgrel=0 +pkgrel=1 _abi=2.1.0 @@ -17,7 +17,7 @@ makedepends="zlib-dev openssl-dev libiconv-dev gdbm-dev db-dev readline-dev subpackages="$pkgname-doc $pkgname-dev $pkgname-irb $pkgname-rdoc $pkgname-rake $pkgname-bigdecimal $pkgname-io-console:io_console $pkgname-minitest - $pkgname-libs + $pkgname-json $pkgname-libs " patches=" " @@ -101,8 +101,6 @@ package() { fi install -Dm644 COPYING \ "${pkgdir}/usr/share/licenses/${pkgname}"/COPYING || return 1 - # unbundle - _rmgem json } _mv() { @@ -157,7 +155,7 @@ irb() { rdoc() { pkgdesc="Ruby documentation tool" - depends="ruby" + depends="ruby ruby-json" arch="noarch" _mvgem rdoc || return 1 _mv usr/bin/ri \ @@ -186,6 +184,12 @@ minitest() { _mvgem minitest } +json() { + pkgdesc="JSON implementation as a Ruby extension in C" + depends=ruby + _mvgem json +} + libs() { pkgdesc="Libraries necessary to run Ruby" depends="" |