1 # Maintainer: Emmanuel Gras <gras.emmanuel@gmail.com>
6 pkgdesc="A Ruby framework designed to parse, analyze, and forge PDF documents"
8 url="http://esec-lab.sogeti.com/dotclear/index.php?pages/Origami"
10 depends=(ruby) # Full dependency information is available in the yaml specification
11 makedepends=(rubygems)
12 source=(http://gems.rubyforge.org/gems/origami-$pkgver.gem)
13 noextract=(origami-$pkgver.gem)
14 md5sums=('746273f9a4f3f6537e46a2cbeaa54c74')
18 # _gemdir is defined inside package() because if ruby[gems] is not installed on the system
19 # makepkg will exit with an error when sourcing the PKGBUILD
20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
22 gem install --ignore-dependencies -i "$pkgdir$_gemdir" origami-$pkgver.gem
25 # vim:set ts=2 sw=2 et: