Commit c02afb36 authored by matt mooney's avatar matt mooney Committed by Allan McRae
Browse files

PKGBUILD-rubygem: set binary directory



Add option to set the directory for gem binaries to /usr/bin.
Suggested-by: default avatartalki walki <lolilolicon@gmail.com>
Signed-off-by: default avatarmatt mooney <mfm@muteddisk.com>
parent bd5be0e6
......@@ -26,7 +26,8 @@ package() {
# makepkg will exit with an error when sourcing the PKGBUILD
local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
gem install --ignore-dependencies -i "$pkgdir$_gemdir" "GEMNAME-$pkgver.gem"
gem install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \
"GEMNAME-$pkgver.gem"
}
# vim:set ts=2 sw=2 et:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment