1 # Maintainer: Ivan c00kiemon5ter Kanakarakis <ivan.kanak@gmail.com>
5 pkgdesc="Ruby port of Docco, literate-programming-style documentation generator"
7 url="http://rtomayko.github.com/rocco/"
9 depends=('ruby' 'ruby-mustache' 'ruby-rdiscount')
10 makedepends=('rubygems')
11 source=("http://rubygems.org/downloads/$pkgname-$pkgver.gem")
12 noextract=("$pkgname-$pkgver.gem")
13 sha256sums=('07f3330d59d934a6a78f988f725eb042f9adbd092180ad33574d90096c797981')
17 # _gemdir is defined inside build()
18 # if ruby[gems] is not installed on the system
19 # makepkg will barf when sourcing the PKGBUILD
20 _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
21 gem install --ignore-dependencies --verbose -i "$pkgdir$_gemdir" -n "$pkgdir"/usr/bin "$pkgname-$pkgver.gem"
24 # vim:set ts=2 sw=2 et: