1 # Contributor: realitygaps <realitygaps AT yahoo DOT com>
2 pkgname=ruby-parseconfig
5 pkgdesc="Ruby gem parse config which allows you to easily manage config files"
7 url="http://rubyforge.org/projects/parseconfig/"
10 makedepends=(rubygems)
11 source=(http://gems.rubyforge.org/gems/parseconfig-$pkgver.gem)
12 noextract=(parseconfig-$pkgver.gem)
13 md5sums=('4de10297d1f010c76ff90d28183f9650')
17 # _gemdir is defined inside build() because if ruby[gems] is not installed on the system
18 # makepkg will barf when sourcing the PKGBUILD
19 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
21 gem install --ignore-dependencies -i "$pkgdir$_gemdir" parseconfig-$pkgver.gem