updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / ruby-heroku / PKGBUILD
blob8ce1c6bea8165f9b3dc64614c67cc241c37a4760
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.16.3
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=('ed7ec12f8c1c894b65a1b4f5b1f33b6b')
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"