Date: Thursday, December 27, 2018 @ 17:05:52 Author: anatolik Revision: 342762
Remove bundler from 'ruby' ruby-bundler is distributed as a separate package Modified: ruby/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-12-27 13:52:33 UTC (rev 342761) +++ PKGBUILD 2018-12-27 17:05:52 UTC (rev 342762) @@ -5,7 +5,7 @@ pkgname=(ruby ruby-docs) pkgver=2.6.0 -pkgrel=1 +pkgrel=2 arch=(x86_64) url='http://www.ruby-lang.org/en/' license=(BSD custom) @@ -59,10 +59,16 @@ rubyver=${pkgver:0:3}.0 - # remove rubygems as it shipped in a separate package + # remove rubygems as it shipped as a separate package rm -r "${pkgdir}"/usr/lib/ruby/${rubyver}/{rubygems,rubygems.rb} rm "${pkgdir}"/usr/bin/gem + # remove bundler as it shipped as a separate package + rm -r "${pkgdir}"/usr/lib/ruby/${rubyver}/{bundler,bundler.rb} + rm "${pkgdir}"/usr/bin/{bundle,bundler} + rm "${pkgdir}"/usr/lib/ruby/gems/${rubyver}/specifications/default/bundler-*.gemspec + rm "${pkgdir}"/usr/share/man/man1/{bundle,bundle-*}.1 + # remove bundled rdoc gem # we are doing it here instead of prepare() because rdoc used doring Ruby build process rm -r "${pkgdir}"/usr/lib/ruby/${rubyver}/rdoc/