1 # Contributor: Emiliano Vavassori <syntaxerrormmm@gmail.com>
2 # Maintainer: Emiliano Vavassori <syntaxerrormmm@gmail.com>
7 pkgdesc="Makes INI file manipulation as fast, safe, and simple as possible."
9 url="http://rubyforge.org/projects/inifile/"
12 makedepends=('rubygems')
13 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem
15 noextract=(${_gemname}-${pkgver}.gem)
16 md5sums=('7c18719eb491880911911ced0e6b3912'
17 '8bcccd8257e396f32665ad74e13210ed')
21 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
23 gem install --ignore-dependencies -f -i "${pkgdir}${_gemdir}" ${_gemname}-${pkgver}.gem
25 # Fixing a syntax incompatibility with 1.9
26 # See http://rubyforge.org/tracker/index.php?func=detail&aid=27484&group_id=2907&atid=11172
27 cd "${pkgdir}${_gemdir}"
28 patch -p0 -i "${srcdir}/ini_rb_1.9.patch"