Package Details: ruby-parser 2.5.1.0-1

Git Clone URL: https://aur.archlinux.org/ruby-parser.git (read-only)
Package Base: ruby-parser
Description: A Ruby parser written in pure Ruby.
Upstream URL: https://rubygems.org/gems/parser
Licenses: MIT
Submitter: joschi
Maintainer: supermario
Last Packager: supermario
Votes: 4
Popularity: 0.055562
First Submitted: 2013-11-26 22:27
Last Updated: 2018-04-28 23:52

Latest Comments

aleextra commented on 2018-04-27 12:44

I was not able to install without editing PKGBUILD and adding:

mkdir -p $pkgdir/usr/bin

finally:

package() {
local _gemdir="$(ruby -e'puts Gem.default_dir')"
mkdir -p $pkgdir/usr/bin
gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

ClawOfLight commented on 2018-02-14 09:22

doesn't build without rdoc, please add it as makedepend or build with --no-document