updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / ruby-rocco / PKGBUILD
blobe8d56649ad5d0ac36deae80dce366eba415f8f7f
1 # Maintainer: Ivan c00kiemon5ter Kanakarakis <ivan.kanak@gmail.com>
2 pkgname="ruby-rocco"
3 pkgver='0.8.2'
4 pkgrel=1
5 pkgdesc="Ruby port of Docco, literate-programming-style documentation generator"
6 arch=('any')
7 url="http://rtomayko.github.com/rocco/"
8 license=()
9 groups=()
10 depends=('ruby' 'ruby-redcarpet' 'ruby-mustache')
11 makedepends=('ruby')
12 optdepends=()
13 provides=()
14 conflicts=()
15 replaces=()
16 backup=()
17 options=()
18 install=
19 source=("http://gems.rubyforge.org/gems/rocco-${pkgver}.gem")
20 noextract=("rocco-${pkgver}.gem")
21 sha256sums=('818a328c294fc78a4115d7abf92dd654ba25036d2a98e57f86972382d0b47c7c')
23 package() {
24   cd "${srcdir}"
25   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
26   gem install --ignore-dependencies -i "$pkgdir$_gemdir" rocco-$pkgver.gem \
27     -n "$pkgdir/usr/bin"
30 # vim:set ts=2 sw=2 et: