1 # Maintainer: Dominik Honnef <dominikh AT fork-bomb DOT org>
5 pkgdesc="A simple, friendly DSL for creating IRC bots"
7 url="http://github.com/cinchrb/cinch"
9 depends=("ruby>=1.9.1")
10 makedepends=(rubygems)
11 source=(http://rubygems.org/downloads/cinch-$pkgver.gem)
12 md5sums=('784155f836b3e18a9a475a32f734e8be')
13 noextract=(cinch-$pkgver.gem)
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" cinch-$pkgver.gem