updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / ruby-highline / PKGBUILD
bloba052e44e83cdc52e86fcc25024c8f64649c50570
1 # Contributor: Emiliano Vavassori <syntaxerrormmm@gmail.com>
2 # Maintainer: Emiliano Vavassori <syntaxerrormmm@gmail.com>
3 pkgname=ruby-highline
4 _gemname=highline
5 pkgver=1.6.9
6 pkgrel=1
7 pkgdesc="A high-level text user interface toolkit for Ruby"
8 arch=('any')
9 url="http://highline.rubyforge.org/"
10 license=('GPL2' 'RUBY')
11 depends=('ruby')
12 makedepends=('ruby')
13 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
14 noextract=(${_gemname}-${pkgver}.gem)
15 md5sums=('f83eec143bbf2a35982e60d94c9e24e6')
17 package() {
18   cd "${srcdir}"
19   local _gemdir="$(env ruby -rubygems -e 'puts Gem.default_dir')"
21   gem install -f -i "${pkgdir}${_gemdir}" --ignore-dependencies ${_gemname}-${pkgver}.gem