1 # Maintainer: Gergely Imreh <imrehg@gmail.com>
5 pkgdesc="Ruby gem Creole, a Creole-to-HTML converter"
7 url="http://rubyforge.org/projects/creole/"
10 makedepends=(rubygems)
11 source=(http://rubygems.org/downloads/creole-$pkgver.gem)
12 noextract=(creole-$pkgver.gem)
13 md5sums=('56a3c5449fefe737b4ade65b38121e85')
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" creole-$pkgver.gem