updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / ruby-heroku / PKGBUILD
blob449dfab7e90d0009eadb3564df945f6d2d1c8ca4
1 # Contributor: Emiliano Vavassori <syntaxerrormmm(at)gmail.com>
2 # Maintainer: Emiliano Vavassori <syntaxerrormmm(at)gmail.com>
3 pkgname=ruby-heroku
4 _gemname=heroku
5 pkgver=2.18.1
6 pkgrel=1
7 pkgdesc="Deploy apps to Heroku from the command line"
8 arch=(any)
9 url="http://github.com/heroku/heroku"
10 license=('MIT')
11 depends=('ruby' 'ruby-term-ansicolor>=1.0.5' 'ruby-launchy>=0.3.2' 'ruby-rest-client>=1.6.1' 'ruby-rubyzip')
12 makedepends=('ruby')
13 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
14 noextract=(${_gemname}-${pkgver}.gem)
15 md5sums=('45e6c9cedf17252668a49daf954121b7')
17 package() {
18   cd "$srcdir"
19   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
21   install -d "${pkgdir}/usr/bin"
22   gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"